Skip to content

Commit

Permalink
Update ColorTest.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal authored Oct 11, 2023
1 parent c66c015 commit 12f5251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/color/ColorTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ TEST_F(ColorTest, shouldGenerateHslWithAlpha)
std::from_chars(hslValues[0].data(), hslValues[0].data() + hslValues[0].size(), hue);
std::from_chars(hslValues[1].data(), hslValues[1].data() + hslValues[1].size(), staturation);
std::from_chars(hslValues[2].data(), hslValues[2].data() + hslValues[2].size(), lightness);
std::from_chars(hslValues[3].data(), hslValues[3].data() + hslValues[3].size(), static_cast<int>(alpha));
std::from_chars(hslValues[3].data(), hslValues[3].data() + hslValues[3].size(), alpha);

ASSERT_TRUE(generatedHslaColor.starts_with("hsla("));
ASSERT_TRUE(generatedHslaColor.ends_with(")"));
Expand Down

0 comments on commit 12f5251

Please sign in to comment.