diff --git a/uni_modules/uts-tests/utssdk/JSON.uts b/uni_modules/uts-tests/utssdk/JSON.uts index 5be1bc4276cbaab9b11f01a10e2db91a899cf306..aecf8c47213ea77954bf9b4f21b0a1e9f93285aa 100644 --- a/uni_modules/uts-tests/utssdk/JSON.uts +++ b/uni_modules/uts-tests/utssdk/JSON.uts @@ -50,31 +50,31 @@ class A1 implements IJsonStringify{ } class A2 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return 2 } } class A3 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return "json" } } class A4 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return null } } class A5 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return new A1() } } class A6 implements IJsonStringify{ - override toJSON():any|null{ + toJSON():any|null{ return new A5() } }