File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 3
3
use super :: project;
4
4
5
5
6
- // TODO: test seems to be system dependent, disable for now
7
- // #[test]
8
- #[ allow( dead_code) ]
6
+ #[ test]
9
7
fn to_locale_string ( ) {
10
8
project ( )
11
9
. file ( "src/lib.rs" , r#"
@@ -26,9 +24,10 @@ fn to_locale_string() {
26
24
27
25
export function test() {
28
26
let number = 1234.45;
29
- assert.equal(wasm.to_locale_string(number, "de-DE"), "1,234.45");
30
27
assert.equal(wasm.to_locale_string(number, "en-US"), "1,234.45");
31
- assert.equal(wasm.to_locale_string(number, "zh-Hans-CN-u-nu-hanidec"), "1,234.45");
28
+ // TODO: these tests seems to be system dependent, disable for now
29
+ // assert.equal(wasm.to_locale_string(number, "de-DE"), "1,234.45");
30
+ // assert.equal(wasm.to_locale_string(number, "zh-Hans-CN-u-nu-hanidec"), "1,234.45");
32
31
}
33
32
"# )
34
33
. test ( )
You can’t perform that action at this time.
0 commit comments