diff options
author | Johan Fleury <jfleury@arcaik.net> | 2018-10-08 12:58:12 -0400 |
---|---|---|
committer | Johan Fleury <jfleury@arcaik.net> | 2018-10-08 12:58:12 -0400 |
commit | 735c78d3ecb695dd16cb37879880f522c4b29c72 (patch) | |
tree | 8bfb2ecbd0f03730efa1540cc65d8490b67e8ddd /tests/files/unicode |
Import upstream version 1.7.0
Diffstat (limited to 'tests/files/unicode')
-rw-r--r-- | tests/files/unicode/1f.yaml | 13 | ||||
-rw-r--r-- | tests/files/unicode/1s.yaml | 10 | ||||
-rw-r--r-- | tests/files/unicode/3f.yaml | 10 | ||||
-rw-r--r-- | tests/files/unicode/3s.yaml | 7 |
4 files changed, 40 insertions, 0 deletions
diff --git a/tests/files/unicode/1f.yaml b/tests/files/unicode/1f.yaml new file mode 100644 index 0000000..97d51f5 --- /dev/null +++ b/tests/files/unicode/1f.yaml @@ -0,0 +1,13 @@ +schema: + type: map + mapping: + msg: + type: int + Alô: + type: int +data: + msg: "Alô do Brasil!!" + Alô: "Brasil!!" +errors: + - "Value 'Alô do Brasil!!' is not of type 'int'. Path: '/msg'" + - "Value 'Brasil!!' is not of type 'int'. Path: '/Alô'" diff --git a/tests/files/unicode/1s.yaml b/tests/files/unicode/1s.yaml new file mode 100644 index 0000000..ab9fff9 --- /dev/null +++ b/tests/files/unicode/1s.yaml @@ -0,0 +1,10 @@ +schema: + type: map + mapping: + msg: + type: str + Alô: + type: str +data: + msg: "Alô do Brasil!!" + Alô: "Brasil!!" diff --git a/tests/files/unicode/3f.yaml b/tests/files/unicode/3f.yaml new file mode 100644 index 0000000..a963f1b --- /dev/null +++ b/tests/files/unicode/3f.yaml @@ -0,0 +1,10 @@ +schema: + type: seq + sequence: + - type: int +data: + - foobar + - åäö +errors: + - "Value 'foobar' is not of type 'int'. Path: '/0'" + - "Value 'åäö' is not of type 'int'. Path: '/1'" diff --git a/tests/files/unicode/3s.yaml b/tests/files/unicode/3s.yaml new file mode 100644 index 0000000..3ab54de --- /dev/null +++ b/tests/files/unicode/3s.yaml @@ -0,0 +1,7 @@ +schema: + type: seq + sequence: + - type: str +data: + - foobar + - åäö |