Skip to content

Commit 2450de8

Browse files
committed
move tests to parse.jl
1 parent 67517c8 commit 2450de8

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

test/core.jl

-9
Original file line numberDiff line numberDiff line change
@@ -4479,12 +4479,3 @@ function h17449(v)
44794479
return r[]
44804480
end
44814481
@test h17449(true) === :k
4482-
4483-
# PR #17393
4484-
for op in (:.==, :.&, :.|, :.≤)
4485-
@test parse("a $op b") == Expr(:call, op, :a, :b)
4486-
end
4487-
for op in (:.=, :.+=)
4488-
@test parse("a $op b") == Expr(op, :a, :b)
4489-
end
4490-

test/parse.jl

+8
Original file line numberDiff line numberDiff line change
@@ -555,3 +555,11 @@ end
555555

556556
# error throwing branch from #10560
557557
@test_throws ArgumentError Base.tryparse_internal(Bool, "foo", 1, 2, 10, true)
558+
559+
# PR #17393
560+
for op in (:.==, :.&, :.|, :.≤)
561+
@test parse("a $op b") == Expr(:call, op, :a, :b)
562+
end
563+
for op in (:.=, :.+=)
564+
@test parse("a $op b") == Expr(op, :a, :b)
565+
end

0 commit comments

Comments
 (0)