Skip to content

Commit

Permalink
formatting for CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
김예안 authored and 김예안 committed May 21, 2024
1 parent d984b66 commit 99f245f
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1740,28 +1740,28 @@ public void testRawTypeReceiverCast() {
@Test
public void testUseOfUnannotatedCode() {
makeHelper()
.addSourceLines(
"Test.java",
"package com.uber;",
"import org.jspecify.annotations.NullMarked;",
"import org.jspecify.annotations.NullUnmarked;",
"import org.jspecify.annotations.Nullable;",
"class Test {",
" @NullUnmarked",
" static class nullUnmarkedClass<S> {",
" static <T> void m1(T t) {}",
" }",
" @NullMarked",
" static class markedClass {",
" static void testInstantiation() {",
" new nullUnmarkedClass<@Nullable String>();",
" }",
" static void testAssignment() {",
" nullUnmarkedClass<@Nullable Integer> var = null;",
" }",
" }",
"}")
.doTest();
.addSourceLines(
"Test.java",
"package com.uber;",
"import org.jspecify.annotations.NullMarked;",
"import org.jspecify.annotations.NullUnmarked;",
"import org.jspecify.annotations.Nullable;",
"class Test {",
" @NullUnmarked",
" static class nullUnmarkedClass<S> {",
" static <T> void m1(T t) {}",
" }",
" @NullMarked",
" static class markedClass {",
" static void testInstantiation() {",
" new nullUnmarkedClass<@Nullable String>();",
" }",
" static void testAssignment() {",
" nullUnmarkedClass<@Nullable Integer> var = null;",
" }",
" }",
"}")
.doTest();
}

public void boxInteger() {
Expand Down

0 comments on commit 99f245f

Please sign in to comment.