Skip to content

Commit

Permalink
Fix a small typo in test message
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed Jul 3, 2017
1 parent b1adc37 commit 22d4fff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit-test-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,8 @@ int main(int argc, char *argv[])
INVALID_SERVER_ID);
ASSERT_TRUE(rc == -1 && errno == ETIMEDOUT, "");


rc = modbus_set_slave(ctx, MODBUS_BROADCAST_ADDRESS);
ASSERT_TRUE(rc != -1, "Invalid broacast address");
ASSERT_TRUE(rc != -1, "Invalid broadcast address");

rc = modbus_read_registers(ctx, UT_REGISTERS_ADDRESS,
UT_REGISTERS_NB, tab_rp_registers);
Expand Down

0 comments on commit 22d4fff

Please sign in to comment.