forked from mitsuhiko/minijinja
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_templates__vm@debug.txt.snap
96 lines (95 loc) · 2.26 KB
/
test_templates__vm@debug.txt.snap
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
source: minijinja/tests/test_templates.rs
description: "{% with f = range %}{% for x in f(upper) %}{{ debug() }}{% endfor %}{% endwith %}"
info:
upper: 1
input_file: minijinja/tests/inputs/debug.txt
---
State {
name: "debug.txt",
current_block: None,
current_call: Some(
"debug",
),
auto_escape: None,
ctx: {
"x": 0,
"loop": Loop {
index0: 0,
index: 1,
length: 1,
revindex: 1,
revindex0: 0,
first: true,
last: true,
depth: 1,
depth0: 0,
},
"f": minijinja::functions::builtins::range,
"upper": 1,
},
env: Environment {
globals: {
"debug": minijinja::functions::builtins::debug,
"dict": minijinja::functions::builtins::dict,
"range": minijinja::functions::builtins::range,
},
tests: [
"defined",
"endingwith",
"even",
"mapping",
"number",
"odd",
"sequence",
"startingwith",
"string",
"undefined",
],
filters: [
"abs",
"batch",
"bool",
"count",
"d",
"default",
"dictsort",
"e",
"escape",
"first",
"items",
"join",
"last",
"length",
"list",
"lower",
"replace",
"reverse",
"round",
"safe",
"slice",
"title",
"tojson",
"trim",
"upper",
"urlencode",
],
templates: [
"a_plus_b.txt",
"bad_basic_block.txt",
"call_macro.txt",
"debug.txt",
"example_macro.txt",
"include_with_var_and_macro.txt",
"layout_with_var.txt",
"self-extends.txt",
"self-include.txt",
"simple2_layout.txt",
"simple_include.txt",
"simple_layout.txt",
"super_with_html.html",
"var_referencing_layout.txt",
"var_setting_layout.txt",
],
},
}