Skip to content

Commit

Permalink
Fix broken calls to LogAssert
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Feb 4, 2025
1 parent 41c5264 commit f72dd2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Runtime/VariableStorageTests/VariableStorageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,13 @@ public void VariableStorage_CanRegisterChangeListeners()
Debug.Log($"$floatVar changed to " + value);
});

LogAssert.Expect("$boolVar changed to True");
LogAssert.Expect(LogType.Log, "$boolVar changed to True");
VarStorage.SetValue("$boolVar", true);

LogAssert.Expect("$stringVar changed to goodbye");
LogAssert.Expect(LogType.Log, "$stringVar changed to goodbye");
VarStorage.SetValue("$stringVar", "goodbye");

LogAssert.Expect("$floatVar changed to 42");
LogAssert.Expect(LogType.Log, "$floatVar changed to 42");
VarStorage.SetValue("$floatVar", 42);

// Disposing of the listeners removes them
Expand Down

0 comments on commit f72dd2b

Please sign in to comment.