Restore enum-style exception message expected by test
This commit is contained in:
parent
b523f3caff
commit
18a3b52d5e
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue