-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TestFiles option in JSON package
Also bump the version number of JSON
- Loading branch information
1 parent
44f6447
commit c8efd14
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
newPackage( | ||
"JSON", | ||
Headline => "JSON encoding and decoding", | ||
Version => "0.2", | ||
Date => "January 28, 2024", | ||
Version => "0.3", | ||
Date => "September 28, 2024", | ||
Authors => {{ | ||
Name => "Doug Torrance", | ||
Email => "[email protected]", | ||
HomePage => "https://webwork.piedmont.edu/~dtorrance"}}, | ||
Keywords => {"System"}, | ||
PackageImports => {"Parsing"}, | ||
AuxiliaryFiles => true) | ||
AuxiliaryFiles => true, | ||
TestFiles => {"test-parse.m2", "test-encode.m2"}) | ||
|
||
--------------- | ||
-- ChangeLog -- | ||
--------------- | ||
|
||
-* | ||
0.3 (2024-09-28, M2 1.24.11) | ||
* use new TestFiles options instead of TEST for loading tests | ||
0.2 (2024-01-24, M2 1.23) | ||
* use single-string version of exportFrom | ||
* use null coalescing operator in toJSON | ||
|
@@ -357,6 +361,3 @@ for tst in sort select(tsts, f -> match("^y_", f)) do ( | |
format json << ", " << toExternalString fromJSON json << ")" << endl) | ||
close outfile | ||
/// | ||
TEST get(currentPackage#"auxiliary files" | "test-parse.m2") | ||
TEST get(currentPackage#"auxiliary files" | "test-encode.m2") |