Skip to content

Commit adc20cc

Browse files
committed
[Painless] Casting Tests for Object and Number (#36804)
This adds more casting tests with the original type as Object and then Number. Covers the entire set of possible numeric cases for these two types.
1 parent 9c5790a commit adc20cc

File tree

2 files changed

+549
-1
lines changed

2 files changed

+549
-1
lines changed

modules/lang-painless/src/test/java/org/elasticsearch/painless/CastTests.java renamed to modules/lang-painless/src/test/java/org/elasticsearch/painless/GeneralCastTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
package org.elasticsearch.painless;
2121

2222
/** Tests for explicit casts */
23-
public class CastTests extends ScriptTestCase {
23+
public class GeneralCastTests extends ScriptTestCase {
2424

2525
/**
2626
* Unary operator with explicit cast

0 commit comments

Comments
 (0)