From 5b9da8418df40a32b3532dde8c5a6014b8f7ae6b Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 17 Aug 2021 19:53:01 +0200 Subject: [PATCH] Tests. --- test/libsolidity/semanticTests/fixedPoint/encodepacked.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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