Skip to content

Commit

Permalink
Spell fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Erez Geva <ErezGeva2@gmail.com>
  • Loading branch information
erezgeva committed Feb 21, 2025
1 parent 1d637e7 commit b6e87a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions uctest/msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ Test(MessageTest, MethodFindTimeSrc)
cr_expect(m->findTimeSrc("Other", &t, false));
cr_expect(eq(int, t, PTPMGMT_OTHER));
m->free(m);
// Confirm compatability
// Confirm compatibility
cr_expect(eq(int, PTPMGMT_GPS, PTPMGMT_GNSS));
}

Expand Down Expand Up @@ -915,7 +915,7 @@ Test(MessageTest, MethodFindPortState)
cr_assert(not(zero(ptr, m)));
cr_expect(m->findPortState("Slave", &s, false));
m->free(m);
// Confirm compatability
// Confirm compatibility
cr_expect(eq(int, PTPMGMT_PRE_MASTER, PTPMGMT_PRE_TIME_TRANSMITTER));
cr_expect(eq(int, PTPMGMT_MASTER, PTPMGMT_TIME_TRANSMITTER));
cr_expect(eq(int, PTPMGMT_SLAVE, PTPMGMT_TIME_RECEIVER));
Expand Down
6 changes: 3 additions & 3 deletions utest/msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ TEST(MessageTest, MethodMng2str)
EXPECT_STREQ(Message::mng2str_c(EXTERNAL_GRANDMASTER_PROPERTIES_NP),
"EXTERNAL_GRANDMASTER_PROPERTIES_NP");
EXPECT_STREQ(Message::mng2str_c(LAST_MNG_ID), "unknown");
// Confirm compatability
// Confirm compatibility
EXPECT_EQ(FIRST_MNG_ID, NULL_PTP_MANAGEMENT);
EXPECT_EQ(NULL_MANAGEMENT, NULL_PTP_MANAGEMENT);
}
Expand Down Expand Up @@ -546,7 +546,7 @@ TEST(MessageTest, MethodFindTimeSrc)
EXPECT_EQ(t, INTERNAL_OSCILLATOR);
EXPECT_TRUE(Message::findTimeSrc("Intern", t, false));
EXPECT_EQ(t, INTERNAL_OSCILLATOR);
// Confirm compatability
// Confirm compatibility
EXPECT_EQ(GPS, GNSS);
}

Expand Down Expand Up @@ -623,7 +623,7 @@ TEST(MessageTest, MethodFindPortState)
EXPECT_EQ(s, TIME_RECEIVER);
EXPECT_TRUE(Message::findPortState("Time_Receiver", s, false));
EXPECT_EQ(s, TIME_RECEIVER);
// Confirm compatability
// Confirm compatibility
EXPECT_EQ(PRE_MASTER, PRE_TIME_TRANSMITTER);
EXPECT_EQ(MASTER, TIME_TRANSMITTER);
EXPECT_EQ(SLAVE, TIME_RECEIVER);
Expand Down

0 comments on commit b6e87a2

Please sign in to comment.