Skip to content

Commit 7d5728d

Browse files
committed
test
1 parent 39f08c8 commit 7d5728d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/basics.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ end
153153
@test repr((a + b) - (b + c)) == "a - c"
154154
@test repr(a + -1*(b + c)) == "a - b - c"
155155
@test repr(a + -1*b) == "a - b"
156+
@test repr(-1^a) == "-(1^a)"
157+
@test repr((-1)^a) == "(-1)^a"
156158
end
157159

158160
@testset "similarterm with Add" begin

0 commit comments

Comments
 (0)