Skip to content

Commit

Permalink
Update "examples" test for new behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed Sep 22, 2024
1 parent 7f7b84a commit a1ca854
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions M2/Macaulay2/tests/normal/examples.m2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
document { Key => "foo", "hi there", EXAMPLE "a", "ho there", EXAMPLE "b" }
examples "foo"
assert( oo == "a\nb"^-1)
ex = examples "foo"
assert( ex#-2 == "a" )
assert( ex#-1 == "b" )

0 comments on commit a1ca854

Please sign in to comment.