forked from ttiimm/log2src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog2src__tests__basic_python.snap
More file actions
52 lines (52 loc) · 1.03 KB
/
log2src__tests__basic_python.snap
File metadata and controls
52 lines (52 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
source: src/lib.rs
expression: src_refs
---
- sourcePath: in-mem.py
language: Python
lineNumber: 3
endLineNumber: 3
column: 16
name: main
text: "\"foo %s \\N{greek small letter pi}\""
quality: 5
pattern: "(?s)^foo (.+) \\w$"
args:
- Placeholder
vars:
- test_var
- sourcePath: in-mem.py
language: Python
lineNumber: 4
endLineNumber: 4
column: 17
name: main
text: "f'Hello, {args[1]}!'"
quality: 7
pattern: "(?s)^Hello, (.+)!$"
args:
- Named: "args[1]"
vars: []
- sourcePath: in-mem.py
language: Python
lineNumber: 5
endLineNumber: 5
column: 19
name: main
text: "f\"warning message:\\nlow disk space\""
quality: 29
pattern: "(?s)^warning message:\\nlow disk space$"
args: []
vars: []
- sourcePath: in-mem.py
language: Python
lineNumber: 6
endLineNumber: 7
column: 16
name: main
text: "rf\"\"\"info message:\nprocessing \\started -- {args[0]}\"\"\""
quality: 35
pattern: "(?s)^info message:\\nprocessing \\\\started -- (.+)$"
args:
- Named: "args[0]"
vars: []