Skip to content

Commit

Permalink
Merge pull request #758 from kohlschutter/ck/CandiesTests
Browse files Browse the repository at this point in the history
test: Rename Angular.java, JQuery.java
  • Loading branch information
lgrignon authored Oct 10, 2023
2 parents 622a040 + 0da45da commit 5d4950e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
import org.jsweet.transpiler.SourceFile;
import org.junit.Test;

import source.candies.Angular;
import source.candies.AngularCandy;
import source.candies.Babylonjs;
import source.candies.BackboneCandy;
import source.candies.JQuery;
import source.candies.JQueryCandy;
import source.candies.ReactLib;
import source.require.b.GlobalsImport;
import source.syntax.QualifiedNames;
Expand All @@ -34,12 +34,12 @@ public class CandiesTests extends AbstractTest {

@Test
public void testAngular() {
transpile(TestTranspilationHandler::assertNoProblems, getSourceFile(Angular.class));
transpile(TestTranspilationHandler::assertNoProblems, getSourceFile(AngularCandy.class));
}

@Test
public void testJQuery() {
transpile(TestTranspilationHandler::assertNoProblems, getSourceFile(JQuery.class));
transpile(TestTranspilationHandler::assertNoProblems, getSourceFile(JQueryCandy.class));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import def.angularjs.ng.route.IRouteProvider;
import def.js.Array;

public class Angular {
public class AngularCandy {

public static void main(String[] args) {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import static jsweet.util.Lang.function;

@SuppressWarnings("all")
public class JQuery {
public class JQueryCandy {

public static void main(String[] args) {
$("p").append(" (end)");
Expand Down

0 comments on commit 5d4950e

Please sign in to comment.