Skip to content

Commit

Permalink
Spotless fix for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craigacp committed Feb 28, 2022
1 parent 41e9b14 commit 17426c3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public void testCUDAOptions() throws OrtException {
OrtException.class, () -> invalidKeyOpts.add("not_a_real_provider_option", "not a number"));
// Test invalid value throws
OrtCUDAProviderOptions invalidValueOpts = new OrtCUDAProviderOptions(0);
assertThrows(
OrtException.class, () -> invalidValueOpts.add("gpu_mem_limit", "not a number"));
assertThrows(OrtException.class, () -> invalidValueOpts.add("gpu_mem_limit", "not a number"));
}

@Test
Expand Down

0 comments on commit 17426c3

Please sign in to comment.