Commit 22d4fffee05afda007e3033668a68ef3a031780a
1 parent
b1adc371
Fix a small typo in test message
Showing
1 changed file
with
1 additions
and
2 deletions
tests/unit-test-client.c
| @@ -489,9 +489,8 @@ int main(int argc, char *argv[]) | @@ -489,9 +489,8 @@ int main(int argc, char *argv[]) | ||
| 489 | INVALID_SERVER_ID); | 489 | INVALID_SERVER_ID); |
| 490 | ASSERT_TRUE(rc == -1 && errno == ETIMEDOUT, ""); | 490 | ASSERT_TRUE(rc == -1 && errno == ETIMEDOUT, ""); |
| 491 | 491 | ||
| 492 | - | ||
| 493 | rc = modbus_set_slave(ctx, MODBUS_BROADCAST_ADDRESS); | 492 | rc = modbus_set_slave(ctx, MODBUS_BROADCAST_ADDRESS); |
| 494 | - ASSERT_TRUE(rc != -1, "Invalid broacast address"); | 493 | + ASSERT_TRUE(rc != -1, "Invalid broadcast address"); |
| 495 | 494 | ||
| 496 | rc = modbus_read_registers(ctx, UT_REGISTERS_ADDRESS, | 495 | rc = modbus_read_registers(ctx, UT_REGISTERS_ADDRESS, |
| 497 | UT_REGISTERS_NB, tab_rp_registers); | 496 | UT_REGISTERS_NB, tab_rp_registers); |