1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 08:25:19 +03:00

add test fixtures

This commit is contained in:
Ayman Nadeem 2018-07-17 15:51:24 -04:00
parent f6dab65ac7
commit 3d61ea9368
3 changed files with 17 additions and 0 deletions

5
test/fixtures/java/classLiteral.java vendored Normal file
View File

@ -0,0 +1,5 @@
class Dino {
void normalError() {
error(TestException.class);
}
}

View File

@ -0,0 +1,6 @@
class Dino {
public void dispose() {
Test.flat(new Function<Integer>() {
});
}
}

View File

@ -0,0 +1,6 @@
class Dino {
void hi() {
try (CustomAnalyzer analyzer = new CustomAnalyzer()){
}
}
}