diff --git a/src/checks/osc.rs b/src/checks/osc.rs index 8ec9a97..440b731 100644 --- a/src/checks/osc.rs +++ b/src/checks/osc.rs @@ -76,8 +76,10 @@ fn check_line(line: usize, content: String) -> Vec { if content.contains(" ") { result.append(&mut vec![CheckNotice::ErrorWithCode { - code: "OSTARSUPP-13334".to_string(), - description: "Leerzeichen am Ende der Plausibilitätsregel-Bezeichnung".to_string(), + code: "2023-0001".to_string(), + description: + "Leerzeichen am Ende der Plausibilitätsregel-Bezeichnung (OSTARSUPP-13334)" + .to_string(), line: Some(line), example: Some(content.trim().to_string()), }])