mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 13:00:57 +00:00
Update tests
This commit is contained in:
parent
9e32a28d11
commit
57554f3d42
@ -11,28 +11,24 @@ error: unable to read $WORKSPACE/target/tests/trybuild/askama_testing/folder-con
|
||||
| ^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: an opening delimiter may not be the prefix of another delimiter. The block delimiter ("<<<") clashes with the expression delimiter ("<<<<")
|
||||
--> testing/delim-clash.toml
|
||||
--> tests/ui/broken-config.rs:12:47
|
||||
|
|
||||
12 | #[template(source = "", ext = "txt", config = "delim-clash.toml")]
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: delimiters must be at least two characters long. The opening block delimiter ("<") is too short
|
||||
--> testing/delim-too-short.toml
|
||||
--> tests/ui/broken-config.rs:16:47
|
||||
|
|
||||
16 | #[template(source = "", ext = "txt", config = "delim-too-short.toml")]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: closing delimiters may not start with operators. The closing expression delimiter ("+>") starts with operator `+`
|
||||
--> testing/operator-plus-config.toml
|
||||
--> tests/ui/broken-config.rs:20:49
|
||||
|
|
||||
20 | #[template(source = "<+a+> and <+b+>", config = "operator-plus-config.toml", syntax = "plus", ext = "txt")]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
error: closing delimiters may not start with operators. The closing expression delimiter ("(>") starts with operator `(`
|
||||
--> testing/operator-paren-config.toml
|
||||
--> tests/ui/broken-config.rs:24:49
|
||||
|
|
||||
24 | #[template(source = "<)a(> and <)b(>", config = "operator-paren-config.toml", syntax = "paren", ext = "txt")]
|
||||
|
@ -1,12 +1,10 @@
|
||||
error: closing delimiters may not start with operators. The closing expression delimiter (">>") starts with operator `>`
|
||||
--> testing/issue-128.toml
|
||||
--> tests/ui/terminator-operator.rs:4:49
|
||||
|
|
||||
4 | #[template(source = "<<a>> and <<b>>", config = "issue-128.toml", syntax = "mwe", ext="")]
|
||||
| ^^^^^^^^^^^^^^^^
|
||||
|
||||
error: closing delimiters may not start with operators. The closing expression delimiter (">>>") starts with operator `>`
|
||||
--> testing/issue-128-2.toml
|
||||
--> tests/ui/terminator-operator.rs:11:49
|
||||
|
|
||||
11 | #[template(source = "<<a>> and <<b>>", config = "issue-128-2.toml", syntax = "mwe", ext="")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user