From dd95f8b5cb8a4d045ed8c78dfe525f43a2d5a97a Mon Sep 17 00:00:00 2001 From: "scott.eppler" Date: Mon, 5 Oct 2020 13:24:22 -0500 Subject: [PATCH] Add example file for YAML highlighting Relates to #1213 --- .../highlighted/YAML/example.yaml | 19 +++++++++++++++++++ tests/syntax-tests/source/YAML/example.yaml | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 tests/syntax-tests/highlighted/YAML/example.yaml create mode 100644 tests/syntax-tests/source/YAML/example.yaml diff --git a/tests/syntax-tests/highlighted/YAML/example.yaml b/tests/syntax-tests/highlighted/YAML/example.yaml new file mode 100644 index 00000000..01a0b19d --- /dev/null +++ b/tests/syntax-tests/highlighted/YAML/example.yaml @@ -0,0 +1,19 @@ +---  +# Simple example +id: 3595 +name: Test User +username: "testuser" +other_names: ['Bob', 'Bill', 'George'] +enabled: true +locked: false +groups:  + - administrators + - engineering + - sfa +address: > + 123 Alphabet Way + San Francisco, CA +phone: null +building_access: yes +secure_access: no +description: None diff --git a/tests/syntax-tests/source/YAML/example.yaml b/tests/syntax-tests/source/YAML/example.yaml new file mode 100644 index 00000000..cc2f63e4 --- /dev/null +++ b/tests/syntax-tests/source/YAML/example.yaml @@ -0,0 +1,18 @@ +--- +# Simple example +id: 3595 +name: Test User +username: "testuser" +other_names: ['Bob', 'Bill', 'George'] +enabled: true +locked: false +groups: + - administrators + - engineering + - sfa +address: > + 123 Alphabet Way + San Francisco, CA +phone: null +building_access: yes +secure_access: no \ No newline at end of file