Skip to content

Commit

Permalink
fix dm hover test on j 21
Browse files Browse the repository at this point in the history
  • Loading branch information
cdietrich committed Apr 24, 2024
1 parent 995655f commit 4d412fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2018, 2021 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2018, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand Down Expand Up @@ -38,7 +38,7 @@ class HoverTest extends AbstractHoverTest {
entity Foo {
bar : List<String>
}
'''.hasHoverOver("java.util.List", '''An ordered collection (also known as a <i>sequence</i>''')
'''.hasHoverOver("java.util.List", '''An ordered collection''')
}

@Test def hover_over_link_in_javadoc() {
Expand All @@ -47,7 +47,7 @@ class HoverTest extends AbstractHoverTest {
* {@link java.util.List}
*/
entity Foo {}
'''.hasHoverOver("java.util.List", '''An ordered collection (also known as a <i>sequence</i>''')
'''.hasHoverOver("java.util.List", '''An ordered collection''')
}

@Test def hover_over_java_typed_property() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2018, 2021 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2018, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand Down Expand Up @@ -43,7 +43,7 @@ public void hover_over_import_statement() {
_builder.append("}");
_builder.newLine();
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("An ordered collection (also known as a <i>sequence</i>");
_builder_1.append("An ordered collection");
this.hasHoverOver(_builder, "java.util.List", _builder_1.toString());
}

Expand All @@ -62,7 +62,7 @@ public void hover_over_link_in_javadoc() {
_builder.append("entity Foo {}");
_builder.newLine();
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("An ordered collection (also known as a <i>sequence</i>");
_builder_1.append("An ordered collection");
this.hasHoverOver(_builder, "java.util.List", _builder_1.toString());
}

Expand Down

0 comments on commit 4d412fa

Please sign in to comment.