File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2010,14 +2010,14 @@ func TestCelEstimatedCostStability(t *testing.T) {
2010
2010
`isQuantity(self.val2)` : 314575 ,
2011
2011
`isQuantity("200M")` : 1 ,
2012
2012
`isQuantity("20Mi")` : 1 ,
2013
- `quantity("200M") == quantity("0.2G") && quantity("0.2G") == quantity("200M")` : uint64 (3689348814741910532 ),
2014
- `quantity("2M") == quantity("0.002G") && quantity("2000k") == quantity("2M") && quantity("0.002G") == quantity("2000k")` : uint64 (5534023222112865798 ),
2013
+ `quantity("200M") == quantity("0.2G") && quantity("0.2G") == quantity("200M")` : uint64 (6 ),
2014
+ `quantity("2M") == quantity("0.002G") && quantity("2000k") == quantity("2M") && quantity("0.002G") == quantity("2000k")` : uint64 (9 ),
2015
2015
`quantity(self.val1).isLessThan(quantity(self.val2))` : 629151 ,
2016
2016
`quantity("50M").isLessThan(quantity("100M"))` : 3 ,
2017
2017
`quantity("50Mi").isGreaterThan(quantity("50M"))` : 3 ,
2018
2018
`quantity("200M").compareTo(quantity("0.2G")) == 0` : 4 ,
2019
- `quantity("50k").add(quantity("20")) == quantity("50.02k")` : uint64 (1844674407370955268 ),
2020
- `quantity("50k").sub(20) == quantity("49980")` : uint64 (1844674407370955267 ),
2019
+ `quantity("50k").add(quantity("20")) == quantity("50.02k")` : uint64 (5 ),
2020
+ `quantity("50k").sub(20) == quantity("49980")` : uint64 (4 ),
2021
2021
`quantity("50").isInteger()` : 2 ,
2022
2022
`quantity(self.val1).isInteger()` : 314576 ,
2023
2023
},
You can’t perform that action at this time.
0 commit comments