mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
38 lines
720 B
YAML
38 lines
720 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
cases:
|
|
- note: positive
|
|
rego: |
|
|
#Empty
|
|
``
|
|
# Multiline
|
|
` This is m
|
|
u
|
|
lti
|
|
line`
|
|
|
|
`"String within rawstring"`
|
|
|
|
# Comment retained
|
|
`
|
|
Hello #retained comment!
|
|
`
|
|
# Utf-8
|
|
`Hello, சிக்கி
|
|
`
|
|
tokens: [ "", " This is m\n u\n lti\nline",
|
|
"\"String within rawstring\"",
|
|
"\nHello #retained comment!\n",
|
|
"Hello, சிக்கி\n",
|
|
""]
|
|
|
|
kinds: [RawString, RawString, RawString, RawString, RawString, Eof]
|
|
|
|
- note: unclosed
|
|
rego: |
|
|
`
|
|
Peekoo Maharaaj ki jai ho
|
|
tokens: []
|
|
error: unmatched `
|