File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
@test iscompound (H2O_5)
20
20
21
21
# Other errors.
22
- @test_throws LoadError @eval @compound H2O = 2 H + O
23
- @test_throws LoadError @eval @compound (H2O, [output= true ]) = 2 H + O
24
- @test_throws LoadError @eval @compound H2O = 1.5 ~ 2 H + O
25
- @test_throws LoadError @eval @compound (H2O = 4 , [output= true ]) ~ 2 H + O
26
- @test_throws LoadError @eval @compound (H2O = p1, [output= true ]) ~ 2 H + p2* O
22
+ @test_throws Exception @eval @compound H2O = 2 H + O
23
+ @test_throws Exception @eval @compound (H2O, [output= true ]) = 2 H + O
24
+ @test_throws Exception @eval @compound ( H2O = 1.5 ) ~ 2 H + O
25
+ @test_throws Exception @eval @compound (H2O = 4 , [output= true ]) ~ 2 H + O
26
+ @test_throws Exception @eval @compound (H2O = p1, [output= true ]) ~ 2 H + p2* O
27
27
28
28
# Compounds created in block notation.
29
29
@compounds begin
You can’t perform that action at this time.
0 commit comments