Commit 6305025
committed
Fix a test
Locale.ROOT doesn't round trip -- it results in a langugage tag of
"und" (undefined, I suppose), and when you round-trip back you don't
get Locale.ROOT from it. The old test worked because it was
fundamentally just testing that the template script execution would
result in the expected string (whether or not you could actually do
anything with the Locale that would result), while this new test is
checking the round-trip behavior.1 parent d191b0c commit 6305025
File tree
1 file changed
+1
-1
lines changed- modules/ingest-common/src/test/java/org/elasticsearch/ingest/common
1 file changed
+1
-1
lines changedmodules/ingest-common/src/test/java/org/elasticsearch/ingest/common/DateProcessorFactoryTests.java
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments