Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
import java.io.IOException;

import org.eclipse.xtext.resource.SaveOptions;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import com.avaloq.tools.ddk.xtext.formatter.formatterTestLanguage.Decl;
import com.avaloq.tools.ddk.xtext.formatter.formatterTestLanguage.FormatterTestLanguageFactory;
Expand Down Expand Up @@ -403,7 +403,7 @@ public void suppressedWhitespace() throws IOException {
*/
// TODO: investigate whether to include test or not - currently this test
// would fail
@Ignore
@Disabled
public void suppressedLinewrap() throws IOException {
String model = "test linewrap\n`foo%abcd%foo%< b\n>%abcd%foo%abcd%foo%abcd%" + "foo%abcd%foo%abcd%foo%abcd%foo%abcd%foo%abcd%foo%xx%foo%abcd%foo%abcd%"
+ "foo%abcd%foo%<\nb >%foo%abcd` post;";
Expand Down Expand Up @@ -472,7 +472,7 @@ public void linewrapDefault() {
m.getItems().add(d);
String actual = getSerializer().serialize(m, SaveOptions.newBuilder().format().getOptions());
String expected = "test wrapminmax\n\n\nxxx yyy;";
Assert.assertEquals("Default Linewrap", expected, actual);
Assertions.assertEquals(expected, actual, "Default Linewrap");
}

/**
Expand Down
Loading