Skip to content

Commit 5a692f9

Browse files
author
Marek Suchánek
committed
Jupiter now supports attributes in titles
1 parent dee98e7 commit 5a692f9

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/validation.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,21 +204,14 @@ mod title {
204204
use crate::validation::IssueSeverity;
205205
use regex::Regex;
206206

207-
const SIMPLE_TITLE_TESTS: [IssueDefinition; 2] = [
207+
const SIMPLE_TITLE_TESTS: [IssueDefinition; 1] = [
208208
// Test that there are no inline anchors in the title
209209
IssueDefinition {
210210
pattern: r"^=\s+.*\[\[\S+\]\].*",
211211
description: "The title contains an inline anchor.",
212212
severity: IssueSeverity::Error,
213213
multiline: false,
214214
},
215-
// Test that titles contain no attributes (variables)
216-
IssueDefinition {
217-
pattern: r"^=\s+.*\{\S+\}.*",
218-
description: "The title contains an attribute.",
219-
severity: IssueSeverity::Error,
220-
multiline: false,
221-
},
222215
];
223216

224217
/// This function collects all tests that target both assembly and module files

0 commit comments

Comments
 (0)