Skip to content

Commit

Permalink
Simplify test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
edgurgel committed Jul 7, 2024
1 parent 6cc1b0b commit cda318d
Show file tree
Hide file tree
Showing 297 changed files with 544 additions and 553 deletions.
2 changes: 1 addition & 1 deletion lib/solid/filter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ defmodule Solid.Filter do
last
end

do_last_index(String.slice(input, 1..-1), string, index + 1, new_last)
do_last_index(String.slice(input, 1..-1//1), string, index + 1, new_last)
end

@doc """
Expand Down
2 changes: 1 addition & 1 deletion lib/solid/tag/for.ex
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ defmodule Solid.Tag.For do
end

defp offset(enumerable, %{offset: offset}) do
Enum.slice(enumerable, offset..-1)
Enum.slice(enumerable, offset..-1//1)
end

defp offset(enumerable, _), do: enumerable
Expand Down
1 change: 0 additions & 1 deletion test/cases/001/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/001/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/002/input.liquid

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/003/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/003/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/004/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/004/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/005/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/006/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/007/input.liquid

This file was deleted.

4 changes: 0 additions & 4 deletions test/cases/008/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/009/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/009/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/010/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/010/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/011/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/011/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/012/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/012/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/013/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/013/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/014/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/015/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/016/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/017/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/017/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/018/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/018/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/019/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/019/input.liquid

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/022/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/023/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/024/input.json

This file was deleted.

4 changes: 0 additions & 4 deletions test/cases/024/input.liquid

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/025/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/026/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/026/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/027/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/027/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/028/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/028/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/029/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/029/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/030/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/030/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/031/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/031/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/032/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/032/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/033/input.json

This file was deleted.

7 changes: 0 additions & 7 deletions test/cases/033/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/034/input.json

This file was deleted.

4 changes: 0 additions & 4 deletions test/cases/034/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/035/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/035/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/036/input.json

This file was deleted.

6 changes: 0 additions & 6 deletions test/cases/036/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/037/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/037/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/038/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/038/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/039/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/039/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/040/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/040/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/041/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/041/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/042/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/042/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/043/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/043/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/044/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/044/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/045/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/045/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/046/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/046/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/047/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/047/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/048/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/048/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/049/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/049/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/050/input.json

This file was deleted.

4 changes: 0 additions & 4 deletions test/cases/050/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/051/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/051/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/052/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/052/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/053/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/053/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/054/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/054/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/055/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/055/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/056/input.json

This file was deleted.

4 changes: 0 additions & 4 deletions test/cases/056/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/057/input.json

This file was deleted.

3 changes: 0 additions & 3 deletions test/cases/057/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/058/input.json

This file was deleted.

2 changes: 0 additions & 2 deletions test/cases/058/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/059/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/059/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/060/input.json

This file was deleted.

6 changes: 0 additions & 6 deletions test/cases/060/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/061/input.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/cases/061/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/062/input.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/cases/062/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/063/input.json

This file was deleted.

6 changes: 0 additions & 6 deletions test/cases/063/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/064/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/066/input.json

This file was deleted.

10 changes: 0 additions & 10 deletions test/cases/066/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/067/input.json

This file was deleted.

10 changes: 0 additions & 10 deletions test/cases/068/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/069/input.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/cases/069/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/070/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/070/input.liquid

This file was deleted.

14 changes: 0 additions & 14 deletions test/cases/071/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/072/input.json

This file was deleted.

5 changes: 0 additions & 5 deletions test/cases/072/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/073/input.json

This file was deleted.

6 changes: 0 additions & 6 deletions test/cases/073/input.liquid

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/074/input.json

This file was deleted.

1 change: 0 additions & 1 deletion test/cases/075/input.json

This file was deleted.

Loading

0 comments on commit cda318d

Please sign in to comment.