Merge pull request #4592 from keymanapp/fix/developer/2241-expansions-cleanup

fix(developer): tidy up expansions tests
This commit is contained in:
Marc Durdin 2021-03-05 13:14:43 +11:00 • committed by GitHub
commit a190cc6ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

View file

@ -45,6 +45,7 @@ call :should-pass "#2241: expansions" test_expansion_1.kmn || goto :eof
fc /b test_expansion.kmx test_expansion_1.kmx || goto :eof
call :should-fail "#2241: invalid expansions" test_expansion_invalid.kmn || goto :eof
call :should-fail "#2241: expansion absurdly long" test_expansion_absurd.kmn || goto :eof
call :should-pass "#2241: &CasedKeys" test_casedkeys.kmn || goto :eof
call :should-pass "#2241: &CasedKeys (chars)" test_casedkeys_chars.kmn || goto :eof

View file

@ -0,0 +1,7 @@
c This file tests absurdly long expansions
store(&NAME) 'Test Expansions'
begin Unicode > use(main)
group(main) using keys
store(schar_range) U+0020 .. U+10FFFF

View file

@ -240,5 +240,15 @@
<FileType>.doc</FileType>
<ParentFileID>id_98467bd680620f99f9adeb5347541b6a</ParentFileID>
</File>
<File>
<ID>id_9d5ea0b72f9733e0e70e04d5b3c790af</ID>
<Filename>test_expansion_absurd.kmn</Filename>
<Filepath>test_expansion_absurd.kmn</Filepath>
<FileVersion>1.0</FileVersion>
<FileType>.kmn</FileType>
<Details>
<Name>Test Expansions</Name>
</Details>
</File>
</Files>
</KeymanDeveloperProject>