Skip to content

Commit 7e2a576

Browse files
author
Noam Preil
committed
clean test
1 parent 2de6d26 commit 7e2a576

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/boot/number_test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ static void test_valid_str(const char *str) {
4444
}
4545

4646
int number_test() {
47-
48-
#ifndef JANET_PLAN9
47+
#ifdef JANET_PLAN9
48+
return 0;
49+
#endif
4950
test_valid_str("1.0");
5051
test_valid_str("1");
5152
test_valid_str("2.1");
@@ -63,7 +64,6 @@ int number_test() {
6364
test_valid_str("123123123123123123132123");
6465
test_valid_str("0000000011111111111111111111111111");
6566
test_valid_str(".112312333333323123123123123123123");
66-
#endif
6767

6868
return 0;
6969
}

0 commit comments

Comments
 (0)