[#274] client/status: Fix check in TestNodeUnderMaintenance test

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-10-02 11:16:04 +03:00
parent d00892f418
commit 7f6eda566a
No known key found for this signature in database

View file

@ -114,7 +114,7 @@ func TestNodeUnderMaintenance(t *testing.T) {
stV2 := st.ToStatusV2() stV2 := st.ToStatusV2()
require.Empty(t, "", stV2.Message()) require.Equal(t, "node is under maintenance", stV2.Message())
}) })
t.Run("non-empty to V2", func(t *testing.T) { t.Run("non-empty to V2", func(t *testing.T) {