Skip to content

Commit 326a333

Browse files
committed
fixed update command
1 parent 7d47885 commit 326a333

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_update.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ class TestUpdateCommand(TestBase):
66
def test_update(self):
77
self._arduino.lib.install(["FastLED@3.3.2"])
88
outdated = self._arduino.update(show_outdated=True)["result"]
9-
self.assertIn("FastLED", outdated)
10-
self.assertIn("3.3.2", outdated)
9+
self.assertTrue(any(lib["library"]["name"] == "FastLED" and lib["library"]["version"] == "3.3.2" for lib in outdated["libraries"]))
1110
self._arduino.lib.uninstall(["FastLED@3.3.2"])
1211

1312

0 commit comments

Comments
 (0)