Skip to content

Commit

Permalink
chore: refine codes a little (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn authored Jan 27, 2025
1 parent bddf746 commit 5644518
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs
4 changes: 2 additions & 2 deletions tests/ten_runtime/smoke/property/property_get_int32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ class test_extension : public ten::extension_t {
EXPECT_EQ(uint16_prop_value, PROP_VAL);

auto uint32_prop_value = ten_env.get_property_uint32("app:" PROP_NAME);
EXPECT_EQ(uint32_prop_value, PROP_VAL);
EXPECT_EQ(uint32_prop_value, static_cast<uint32_t>(PROP_VAL));

auto uint64_prop_value = ten_env.get_property_uint64("app:" PROP_NAME);
EXPECT_EQ(uint64_prop_value, PROP_VAL);
EXPECT_EQ(uint64_prop_value, static_cast<uint64_t>(PROP_VAL));

auto float32_prop_value = ten_env.get_property_float32("app:" PROP_NAME);
EXPECT_EQ(float32_prop_value, 0.0);
Expand Down

0 comments on commit 5644518

Please sign in to comment.