fix fs-non-number-arguments-throw.test.js (#14312)

This commit is contained in:
Meghan Denny
2024-10-10 22:07:41 -07:00
committed by GitHub
parent 874c9dbb24
commit 170fafbca9
3 changed files with 86 additions and 1 deletions

View File

@@ -300,7 +300,7 @@ WTF::String ERR_OUT_OF_RANGE(JSC::ThrowScope& scope, JSC::JSGlobalObject* global
auto input = JSValueToStringSafe(globalObject, val_input);
RETURN_IF_EXCEPTION(scope, {});
return makeString("The value of \""_s, arg_name, "\" is out of range. It must be "_s, range, ". Received: \""_s, input, '"');
return makeString("The value of \""_s, arg_name, "\" is out of range. It must be "_s, range, ". Received: "_s, input);
}
}