From a1ca85443fa7f8861c07246406305cdbf5e64445 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 20 Sep 2024 06:14:32 -0400 Subject: [PATCH] Update "examples" test for new behavior --- M2/Macaulay2/tests/normal/examples.m2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/M2/Macaulay2/tests/normal/examples.m2 b/M2/Macaulay2/tests/normal/examples.m2 index 0c8c8837da9..6ceb7b1013e 100644 --- a/M2/Macaulay2/tests/normal/examples.m2 +++ b/M2/Macaulay2/tests/normal/examples.m2 @@ -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" )