tree-sitter-dockerfile/test/corpus/user.txt

64 lines
875 B
Plaintext
Raw Normal View History

2021-05-09 22:11:30 -04:00
==================
No group
==================
USER foo
USER FooBar
USER Foo-Bar
2021-05-09 22:11:30 -04:00
---
(source_file
(user_instruction
user: (unquoted_string))
(user_instruction
user: (unquoted_string))
2021-05-09 22:11:30 -04:00
(user_instruction
user: (unquoted_string)))
==================
With group
==================
USER foo:bar
USER foo:Bar
USER foo:Bar-Bar
2021-05-09 22:11:30 -04:00
---
(source_file
(user_instruction
user: (unquoted_string)
group: (unquoted_string))
(user_instruction
user: (unquoted_string)
group: (unquoted_string))
2021-05-09 22:11:30 -04:00
(user_instruction
user: (unquoted_string)
group: (unquoted_string)))
==================
Numerical
==================
USER 1004:1004
---
2021-05-09 22:11:30 -04:00
(source_file
(user_instruction
user: (unquoted_string)
group: (unquoted_string)))
===========================
No spaces in user:group
===========================
USER a: b
---
(source_file
(ERROR
(unquoted_string)))