@@ -54,11 +54,8 @@ contract UpdateBaseURITest is BuilderCodesTest {
5454 builderCodes.updateBaseURI (uriPrefix);
5555
5656 string memory tokenURI = builderCodes.tokenURI (tokenId);
57- if (bytes (uriPrefix).length > 0 ) {
58- assertEq (tokenURI, string .concat (uriPrefix, validCode));
59- } else {
60- assertEq (tokenURI, "" );
61- }
57+ if (bytes (uriPrefix).length > 0 ) assertEq (tokenURI, string .concat (uriPrefix, validCode));
58+ else assertEq (tokenURI, "" );
6259 }
6360
6461 /// @notice Test that updateBaseURI successfully updates the code URI
@@ -75,11 +72,8 @@ contract UpdateBaseURITest is BuilderCodesTest {
7572 builderCodes.updateBaseURI (uriPrefix);
7673
7774 string memory codeURI = builderCodes.codeURI (validCode);
78- if (bytes (uriPrefix).length > 0 ) {
79- assertEq (codeURI, string .concat (uriPrefix, validCode));
80- } else {
81- assertEq (codeURI, "" );
82- }
75+ if (bytes (uriPrefix).length > 0 ) assertEq (codeURI, string .concat (uriPrefix, validCode));
76+ else assertEq (codeURI, "" );
8377 }
8478
8579 /// @notice Test that updateBaseURI successfully updates the contract URI
@@ -90,11 +84,8 @@ contract UpdateBaseURITest is BuilderCodesTest {
9084 builderCodes.updateBaseURI (uriPrefix);
9185
9286 string memory contractURI = builderCodes.contractURI ();
93- if (bytes (uriPrefix).length > 0 ) {
94- assertEq (contractURI, string .concat (uriPrefix, "contractURI.json " ));
95- } else {
96- assertEq (contractURI, "" );
97- }
87+ if (bytes (uriPrefix).length > 0 ) assertEq (contractURI, string .concat (uriPrefix, "contractURI.json " ));
88+ else assertEq (contractURI, "" );
9889 }
9990
10091 /// @notice Test that updateBaseURI emits the ERC4906 BatchMetadataUpdate event
0 commit comments