mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
20 lines
478 B
YAML
20 lines
478 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
cases:
|
|
- note: builtin error gobbled up in non strict mode
|
|
modules:
|
|
- |
|
|
package test
|
|
a = to_number("abc")
|
|
query: data.test
|
|
want_result: {}
|
|
strict: false
|
|
|
|
- note: builtin error in strict mode
|
|
modules:
|
|
- |
|
|
package test
|
|
a = to_number("abc")
|
|
query: data.test
|
|
error: "could not parse string as number"
|