Skip to content

Commit

Permalink
Proper naming
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaDemianenko committed Sep 13, 2018
1 parent c6ac5ee commit 2e4e2a7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -159,7 +159,7 @@ void testMin()
} }


@Test @Test
void exceptDoesNoAllowForbiddenValues() void exceptDoesNotAllowForbiddenValues()
{ {
Setting<String> restrictedSetting = buildSetting( "foo", STRING, "test" ).constraint( except( "a", "b", "c" ) ).build(); Setting<String> restrictedSetting = buildSetting( "foo", STRING, "test" ).constraint( except( "a", "b", "c" ) ).build();
assertEquals( "test", restrictedSetting.apply( map( stringMap() ) ) ); assertEquals( "test", restrictedSetting.apply( map( stringMap() ) ) );
Expand Down

0 comments on commit 2e4e2a7

Please sign in to comment.