Skip to content

Commit

Permalink
doctest.sh: Delete unused slice function (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Dec 1, 2024
1 parent 7c2f683 commit 30131bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions doctest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ if $DIFF --help | grep -q -- --color; then
diff_color="--color=always"
fi

function slice()
{
local first_lineno="$1"
local last_lineno="$2"
local num_lines=$((last_lineno - first_lineno + 1))
head -n $last_lineno | tail -n $num_lines
}

function generate_expected_output()
{
local joufile="$1"
Expand Down

0 comments on commit 30131bc

Please sign in to comment.