diff options
author | dgp <dgp@users.sourceforge.net> | 2018-04-19 02:45:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-04-19 02:45:38 (GMT) |
commit | 567fb6cc27d5d87678cc7cb02004296436e5fc59 (patch) | |
tree | 031a121e00d93b6b2602c248a0d65d12efb7bcba /tests/msgcat.test | |
parent | 31a291920abf3cdcf53dd275bd8712565ba020c8 (diff) | |
parent | 75bd116527ce94efc1c14c6dc82c526614ed6c7f (diff) | |
download | tcl-567fb6cc27d5d87678cc7cb02004296436e5fc59.zip tcl-567fb6cc27d5d87678cc7cb02004296436e5fc59.tar.gz tcl-567fb6cc27d5d87678cc7cb02004296436e5fc59.tar.bz2 |
merge 8.6
Diffstat (limited to 'tests/msgcat.test')
-rw-r--r-- | tests/msgcat.test | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/msgcat.test b/tests/msgcat.test index 0d2f928..d38152b 100644 --- a/tests/msgcat.test +++ b/tests/msgcat.test @@ -1319,31 +1319,31 @@ if {[package vsatisfies [package provide msgcat] 1.7]} { # Tests msgcat-15.*: [mcutil] - test msgcat-15.1 {mcutil - no argument} -body { + test msgcat-15.5 {mcutil - no argument} -body { mcutil } -returnCodes 1\ -result {wrong # args: should be "mcutil subcommand ?arg ...?"} - test msgcat-15.2 {mcutil - wrong argument} -body { + test msgcat-15.6 {mcutil - wrong argument} -body { mcutil junk } -returnCodes 1\ -result {unknown subcommand "junk": must be getpreferences, or getsystemlocale} - test msgcat-15.3 {mcutil - partial argument} -body { + test msgcat-15.7 {mcutil - partial argument} -body { mcutil getsystem } -returnCodes 1\ -result {unknown subcommand "getsystem": must be getpreferences, or getsystemlocale} - test msgcat-15.4 {mcutil getpreferences - no argument} -body { + test msgcat-15.8 {mcutil getpreferences - no argument} -body { mcutil getpreferences } -returnCodes 1\ -result {wrong # args: should be "mcutil getpreferences locale"} - test msgcat-15.5 {mcutil getpreferences - DE_de} -body { + test msgcat-15.9 {mcutil getpreferences - DE_de} -body { mcutil getpreferences DE_de } -result {de_de de {}} - test msgcat-15.6 {mcutil getsystemlocale - wrong argument} -body { + test msgcat-15.10 {mcutil getsystemlocale - wrong argument} -body { mcutil getsystemlocale DE_de } -returnCodes 1\ -result {wrong # args: should be "mcutil getsystemlocale"} @@ -1351,7 +1351,7 @@ if {[package vsatisfies [package provide msgcat] 1.7]} { # The result is system dependent # So just test if it runs # The environment variable version was test with test 0.x - test msgcat-15.7 {mcutil getsystemlocale} -body { + test msgcat-15.11 {mcutil getsystemlocale} -body { mcutil getsystemlocale set ok ok } -result {ok} |