Skip to content

Commit

Permalink
style: Fix clang-tidy issues (#1510)
Browse files Browse the repository at this point in the history
Fixes #1508, #1506, #1500
  • Loading branch information
kuznetsss authored Jul 3, 2024
1 parent f771860 commit 6cb63ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/data/AmendmentCenterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ TEST_F(AmendmentKeyTest, Convertible)
auto const second = AmendmentKey(key2);
auto const third = AmendmentKey("test");

std::string s1 = first;
std::string const s1 = first;
EXPECT_EQ(s1, key1);

ripple::uint256 k1 = first;
ripple::uint256 k2 = second;
ripple::uint256 const k1 = first;
ripple::uint256 const k2 = second;

EXPECT_EQ(k1, ripple::uint256{"7E365F775657DC0EB960E6295A1F44B3F67479F54D5D12C5D87E6DB234F072E3"});
EXPECT_EQ(k2, ripple::uint256{"B4F33541E0E2FC2F7AA17D2D2E6A9B424809123485251D3413E91CC462309772"});
Expand Down

0 comments on commit 6cb63ed

Please sign in to comment.