miantalha45 commented on issue #3627:
URL: https://github.com/apache/fory/issues/3627#issuecomment-4335074546
@chaokunyang Here is the output of these tests:
```
> dart test test/security_test.dart
Resolving dependencies in `/Users/talhaamjad/Documents/GSOC/fory/dart`...
Downloading packages...
Got dependencies in `/Users/talhaamjad/Documents/GSOC/fory/dart`.
Resolving dependencies in `/Users/talhaamjad/Documents/GSOC/fory/dart`...
Downloading packages...
Got dependencies in `/Users/talhaamjad/Documents/GSOC/fory/dart`.
00:00 +0 -1: RefReader.readRefOrNull does not throw for an out-of-range ref
id [E]
Expected: return normally
Actual: <Closure: () => int>
Which: threw RangeError:<RangeError (length): Invalid value: Valid
value range is empty: 9999>
package:matcher expect
test/security_test.dart 38:5 main.<fn>
To run this test again: dart test test/security_test.dart -p vm --plain-name
'RefReader.readRefOrNull does not throw for an out-of-range ref id'
00:00 +0 -2: MetaStringReader.readMetaString does not throw for a negative
ref index [E]
Expected: return normally
Actual: <Closure: () => EncodedMetaString>
Which: threw RangeError:<RangeError (length): Invalid value: Valid
value range is empty: -1>
package:matcher expect
test/security_test.dart 53:5 main.<fn>
To run this test again: dart test test/security_test.dart -p vm --plain-name
'MetaStringReader.readMetaString does not throw for a negative ref index'
00:00 +0 -2: Some tests failed.
Consider enabling the flag chain-stack-traces to receive more detailed
exceptions.
For example, 'dart test --chain-stack-traces'.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]