diff --git a/test/libsolidity/semanticTests/fixedPoint/encodepacked.sol b/test/libsolidity/semanticTests/fixedPoint/encodepacked.sol index 3531cf3fb..77b444d40 100644 --- a/test/libsolidity/semanticTests/fixedPoint/encodepacked.sol +++ b/test/libsolidity/semanticTests/fixedPoint/encodepacked.sol @@ -1,7 +1,7 @@ contract C { function f() public pure returns (bytes memory) { return abi.encodePacked( - 1.23, + ufixed16x3(1.23), fixed64x4(-1.234) ); } @@ -15,5 +15,5 @@ contract C { // ==== // compileViaYul: also // ---- -// f() -> -// g() -> +// f() -> 0x20, 10, 0x4ceffffffffffffcfcc00000000000000000000000000000000000000000000 +// g() -> 0x20, 0x40, 0x7b, -12340