Skip to content

Commit 5343457

Browse files
author
Olivier Tilloy
committed
Update the test expectation to make it unambiguous.
1 parent f031e4f commit 5343457

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/lang/test-zh-CN.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"basic": "basic success"
2+
"basic": "basic success zh-CN"
33
}

test/localize_test.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ do ($ = jQuery) ->
161161
opts = language: "zh-CN", pathPrefix: "lang"
162162
t = localizableTagWithRel("p", "basic", text: "basic fail")
163163
t.localize("test", opts)
164-
equal t.text(), "basic success"
164+
equal t.text(), "basic success zh-CN"
165165

166166
module "Language optimization"
167167

test/localize_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
text: "basic fail"
256256
});
257257
t.localize("test", opts);
258-
return equal(t.text(), "basic success");
258+
return equal(t.text(), "basic success zh-CN");
259259
});
260260
module("Language optimization");
261261
test("skipping language using string match", function() {

0 commit comments

Comments
 (0)