Skip to content

Commit

Permalink
Remove locale specific tests
Browse files Browse the repository at this point in the history
These caused issues in various places, but test nothing useful.
  • Loading branch information
fingolfin committed May 28, 2020
1 parent e0ee956 commit c18b0c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
16 changes: 8 additions & 8 deletions tst/testinstall/stringobj.tst
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ gap> s;
"Ilovepiespiespies"

# Lowercase - Uppercase
gap> List("abcxyzABCXYZ\n\t !019?\377\000$", LowercaseChar);
"abcxyzabcxyz\n\t !019?\377\000$"
gap> List("abcxyzABCXYZ\n\t !019?\377\000$", UppercaseChar);
"ABCXYZABCXYZ\n\t !019?\377\000$"
gap> UppercaseString("abcxyzABCXYZ\n\t !019?\377\000$");
"ABCXYZABCXYZ\n\t !019?\377\000$"
gap> LowercaseString("abcxyzABCXYZ\n\t !019?\377\000$");
"abcxyzabcxyz\n\t !019?\377\000$"
gap> List("abcxyzABCXYZ\n\t !019?\000$", LowercaseChar);
"abcxyzabcxyz\n\t !019?\000$"
gap> List("abcxyzABCXYZ\n\t !019?\000$", UppercaseChar);
"ABCXYZABCXYZ\n\t !019?\000$"
gap> UppercaseString("abcxyzABCXYZ\n\t !019?\000$");
"ABCXYZABCXYZ\n\t !019?\000$"
gap> LowercaseString("abcxyzABCXYZ\n\t !019?\000$");
"abcxyzabcxyz\n\t !019?\000$"
gap> UppercaseString("");
""
gap> LowercaseString("");
Expand Down
10 changes: 6 additions & 4 deletions tst/testinstall/strings.tst
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ gap> PrintString(x);
"abc"
gap> String(x);
"abc"
gap> x:="\0xFF";
"\377"
gap> "\0x4a";
"J"
gap> x:="\0x4A";
"J"
gap> x:="\0x42\0x23\0x10\0x10\0x10";
"B#\020\020\020"
gap> x:="A string with \0xFF Hex stuff \0x42 in it";
"A string with \377 Hex stuff B in it"
gap> x:="A string with Hex stuff \0x42 in it";
"A string with Hex stuff B in it"
gap> "\0yab";
Syntax error: Expecting hexadecimal escape, or two more octal digits in stream\
:1
Expand Down

0 comments on commit c18b0c4

Please sign in to comment.