Skip to content

Commit

Permalink
Fix spell check and astyle format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkan01 committed Jul 23, 2020
1 parent 21325e2 commit 947d2d7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class EmacTestNetworkStack : public OnboardNetworkStack, private mbed::NonCopyab

/** Bind a specific address to a socket
*
* Binding a socket specifies the address and port on which to recieve
* Binding a socket specifies the address and port on which to receive
* data. If the IP address is zeroed, only the port is bound.
*
* @param handle Socket handle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void wifi_connect_secure(void);
/** Test WiFiInterface::connect() failing with wrong password. */
void wifi_connect_secure_fail(void);

/** Test WiFiInterface::connect() - disconnect() repeatition works. */
/** Test WiFiInterface::connect() - disconnect() repetition works. */
void wifi_connect_disconnect_repeat(void);

/** Call WiFiInterface::scan() with null parameters to get number of networks available. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ TEST_F(TestEthernetInterface, set_network)
// Testing the getters makes sense now.
EXPECT_CALL(*netStackIface, get_mac_address(_, _))
.Times(1)
.WillOnce(DoAll(SetArrayArgument<0>(macAddress, macAddress+NSAPI_MAC_SIZE), Return(macAddress)));
.WillOnce(DoAll(SetArrayArgument<0>(macAddress, macAddress + NSAPI_MAC_SIZE), Return(macAddress)));
EXPECT_EQ(std::string(macAddress), std::string(iface->get_mac_address()));

EXPECT_CALL(*netStackIface, get_ip_address(_))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ OnboardNetworkStack &OnboardNetworkStack::get_default_instance()
}

// Wrapper to avoid calling OnboardNetworkStack::get_default_instance() everywhere
static OnboardNetworkStackMock &stackMock() {
static OnboardNetworkStackMock &stackMock()
{
return OnboardNetworkStackMock::get_instance();
}

Expand Down
1 change: 1 addition & 0 deletions tools/test/travis-ci/doxy-spellchecker/ignore.en.pws
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,5 @@ chrono
Hinnant
Vin
Vref
ssid
_doxy_

0 comments on commit 947d2d7

Please sign in to comment.