Formatting

This commit is contained in:
Calvin Rose
2025-12-13 06:00:16 -06:00
parent 898e93bc4a
commit 7f9d92a73b
8 changed files with 28 additions and 26 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ static void test_valid_str(const char *str) {
int number_test() {
#ifdef JANET_PLAN9
return 0;
return 0;
#endif
test_valid_str("1.0");
test_valid_str("1");
+2 -2
View File
@@ -52,8 +52,8 @@ int system_test() {
assert(janet_equals(janet_wrap_number(3.14159265), janet_wrap_number(3.14159265)));
#ifdef NAN
#ifdef JANET_PLAN9
// Plan 9 traps NaNs by default; disable that.
setfcr(0);
// Plan 9 traps NaNs by default; disable that.
setfcr(0);
#endif
assert(janet_checktype(janet_wrap_number(NAN), JANET_NUMBER));
#else