From 1aee3d908cce0ec370aca3b2b4c255d9237945a9 Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Wed, 20 Dec 2023 10:28:56 +0100
Subject: [PATCH] Use require.NoError instead of require.Nil
---
tests/mbt/driver/mbt_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/mbt/driver/mbt_test.go b/tests/mbt/driver/mbt_test.go
index 761aa60bca..25f643ba5e 100644
--- a/tests/mbt/driver/mbt_test.go
+++ b/tests/mbt/driver/mbt_test.go
@@ -421,7 +421,7 @@ func CompareValidatorSets(t *testing.T, driver *Driver, currentModelState map[st
// get the validator for that address on the provider
providerVal, err := driver.providerStakingKeeper().GetValidatorByConsAddr(driver.providerCtx(), providerConsAddr.Address)
- require.Nil(t, err, "Error getting provider validator")
+ require.NoError(t, err, "Error getting provider validator")
// use the moniker of that validator
consumerCurValSet[providerVal.GetMoniker()] = val.Power