Skip to content

Commit

Permalink
Ensure that lineprovider yarn project is set
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Nov 24, 2024
1 parent 86bc0f3 commit 6dec4db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/Runtime/DialogueRunnerTests/BuiltinLineProviderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,12 @@ public IEnumerator LoadScene()
lineProvider.Should().NotBeNull();
runner.LineProvider.Should().BeSameObjectAs(lineProvider);

lineProvider.YarnProject.Should().NotBeNull();

yarnProject = runner.yarnProject!;
yarnProject.Should().NotBeNull();

lineProvider.YarnProject.Should().BeSameObjectAs(yarnProject);
}

[UnityTest]
Expand Down

0 comments on commit 6dec4db

Please sign in to comment.