Commit 40312189 authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Merge branch 'FixCI' into 'master'

Fix failing tests

See merge request !9
parents 19df0de8 853f60e3
Pipeline #194811 passed with stages
in 3 minutes and 1 second
......@@ -96,7 +96,10 @@ public class AbstractSymtabTest {
return false;
}
lines1 = discardEmptyLines(lines1);
lines1 = discardCopyrightNotice(lines1);
lines2 = discardEmptyLines(lines2);
lines2 = discardCopyrightNotice(lines2);
if (lines1.size() != lines2.size()) {
Assert.fail(
"files have different number of lines: "
......@@ -127,4 +130,10 @@ public class AbstractSymtabTest {
.filter(l -> !l.isEmpty())
.collect(Collectors.toList());
}
private static List<String> discardCopyrightNotice(List<String> lines) {
return lines.stream()
.filter(l -> !l.contains("(c) https://github.com/MontiCore/monticore"))
.collect(Collectors.toList());
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment