Skip to content

Commit

Permalink
Minimize filename during TestInput test
Browse files Browse the repository at this point in the history
  • Loading branch information
d-torrance committed Oct 20, 2024
1 parent 316b97b commit 67f54bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2/Macaulay2/tests/normal/testing.m2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ assert Equation(toString pkgtest, "assert Equation(1 + 1, 2)")
assert Equation(net pkgtest, "TestInput[" | testpkg | ":3:5-3:32]")
beginDocumentation()
expectedCode = DIV{
new FilePosition from (testpkg, 3, 5, 3, 32, 3, 5),
new FilePosition from (minimizeFilename testpkg, 3, 5, 3, 32, 3, 5),
": --source code:",
PRE{CODE{"class" => "language-macaulay2",
"TEST \"assert Equation(1 + 1, 2)\""}}}
Expand Down

0 comments on commit 67f54bd

Please sign in to comment.