askama/testing/tests/ui/broken-config.stderr
Guillaume Gomez 57554f3d42 Update tests
2025-07-20 16:27:23 +02:00

36 lines
1.9 KiB
Plaintext

error: `$WORKSPACE/target/tests/trybuild/askama_testing/no-such-config.toml` does not exist
--> tests/ui/broken-config.rs:4:47
|
4 | #[template(source = "", ext = "txt", config = "no-such-config.toml")]
| ^^^^^^^^^^^^^^^^^^^^^
error: unable to read $WORKSPACE/target/tests/trybuild/askama_testing/folder-config.toml: Is a directory (os error 21)
--> tests/ui/broken-config.rs:8:47
|
8 | #[template(source = "", ext = "txt", config = "folder-config.toml")]
| ^^^^^^^^^^^^^^^^^^^^
error: an opening delimiter may not be the prefix of another delimiter. The block delimiter ("<<<") clashes with the expression delimiter ("<<<<")
--> 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
--> 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 `+`
--> 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 `(`
--> tests/ui/broken-config.rs:24:49
|
24 | #[template(source = "<)a(> and <)b(>", config = "operator-paren-config.toml", syntax = "paren", ext = "txt")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^