Extract common optimizer tests (#52169)
(cherry picked from commit e5ad72bc22e9ec0686ab582195f0032efcb880bf)
This commit is contained in:
parent
edaf6d1f79
commit
a21e2b211a
|
@ -36,6 +36,10 @@ public final class TestUtils {
|
||||||
randomAlphaOfLength(10));
|
randomAlphaOfLength(10));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static Literal of(Object value) {
|
||||||
|
return of(Source.EMPTY, value);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility method for creating 'in-line' Literals (out of values instead of expressions).
|
* Utility method for creating 'in-line' Literals (out of values instead of expressions).
|
||||||
*/
|
*/
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue