mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-22 12:58:26 +00:00
parent
975487f630
commit
dd95f8b5cb
19
tests/syntax-tests/highlighted/YAML/example.yaml
Normal file
19
tests/syntax-tests/highlighted/YAML/example.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[38;2;166;226;46m---[0m[38;2;248;248;242m [0m
|
||||||
|
[38;2;117;113;94m#[0m[38;2;117;113;94m Simple example[0m
|
||||||
|
[38;2;249;38;114mid[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255m3595[0m
|
||||||
|
[38;2;249;38;114mname[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;230;219;116mTest User[0m
|
||||||
|
[38;2;249;38;114musername[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;230;219;116m"[0m[38;2;230;219;116mtestuser[0m[38;2;230;219;116m"[0m
|
||||||
|
[38;2;249;38;114mother_names[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;248;248;242m[[0m[38;2;230;219;116m'[0m[38;2;230;219;116mBob[0m[38;2;230;219;116m'[0m[38;2;248;248;242m,[0m[38;2;248;248;242m [0m[38;2;230;219;116m'[0m[38;2;230;219;116mBill[0m[38;2;230;219;116m'[0m[38;2;248;248;242m,[0m[38;2;248;248;242m [0m[38;2;230;219;116m'[0m[38;2;230;219;116mGeorge[0m[38;2;230;219;116m'[0m[38;2;248;248;242m][0m
|
||||||
|
[38;2;249;38;114menabled[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255mtrue[0m
|
||||||
|
[38;2;249;38;114mlocked[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255mfalse[0m
|
||||||
|
[38;2;249;38;114mgroups[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m
|
||||||
|
[38;2;248;248;242m [0m[38;2;248;248;242m-[0m[38;2;248;248;242m [0m[38;2;230;219;116madministrators[0m
|
||||||
|
[38;2;248;248;242m [0m[38;2;248;248;242m-[0m[38;2;248;248;242m [0m[38;2;230;219;116mengineering[0m
|
||||||
|
[38;2;248;248;242m [0m[38;2;248;248;242m-[0m[38;2;248;248;242m [0m[38;2;230;219;116msfa[0m
|
||||||
|
[38;2;249;38;114maddress[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;249;38;114m>[0m
|
||||||
|
[38;2;230;219;116m 123 Alphabet Way[0m
|
||||||
|
[38;2;230;219;116m San Francisco, CA[0m
|
||||||
|
[38;2;249;38;114mphone[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255mnull[0m
|
||||||
|
[38;2;249;38;114mbuilding_access[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255myes[0m
|
||||||
|
[38;2;249;38;114msecure_access[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;190;132;255mno[0m
|
||||||
|
[38;2;249;38;114mdescription[0m[38;2;248;248;242m:[0m[38;2;248;248;242m [0m[38;2;230;219;116mNone[0m
|
18
tests/syntax-tests/source/YAML/example.yaml
Normal file
18
tests/syntax-tests/source/YAML/example.yaml
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user