File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ tests = [
2121 " a;b \n c;d" => " (toplevel (toplevel a b) (toplevel c d))"
2222 " a \n \n " => " (toplevel a)"
2323 " " => " (toplevel)"
24+ # Early abort in array parsing
25+ " [x@y" => " (toplevel (hcat x) (error-t ✘ y))"
26+ " [x@y]" => " (toplevel (hcat x) (error-t ✘ y ✘))"
2427 ],
2528 JuliaSyntax. parse_block => [
2629 " a;b;c" => " (block a b c)"
@@ -652,8 +655,6 @@ tests = [
652655 " [x ; y ; z]" => " (vcat x y z)"
653656 " [x;]" => " (vcat x)"
654657 " [x y]" => " (hcat x y)"
655- # Early abort
656- " [x@y" => " (hcat x) (error-t ✘ y)"
657658 # Mismatched rows
658659 " [x y ; z]" => " (vcat (row x y) z)"
659660 # Single elements in rows
@@ -788,9 +789,9 @@ broken_tests = [
788789
789790@testset " Inline test cases" begin
790791 @testset " $production " for (production, test_specs) in tests
791- @testset " $(repr (input)) " for (input,output) in test_specs
792+ @testset " $(repr (input)) " for (input, output) in test_specs
792793 if ! (input isa AbstractString)
793- opts,input = input
794+ opts, input = input
794795 else
795796 opts = NamedTuple ()
796797 end
You can’t perform that action at this time.
0 commit comments