Restore enum-style exception message expected by test
This commit is contained in:
@@ -211,7 +211,7 @@ public @interface DurationFormat {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("No matching Unit for ChronoUnit: " + chronoUnit.name());
|
||||
throw new IllegalArgumentException("No matching Unit for ChronoUnit." + chronoUnit.name());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user