Skip to content

Commit

Permalink
Updated metadata test to support lastline
Browse files Browse the repository at this point in the history
  • Loading branch information
McJones committed Apr 8, 2022
1 parent ee0aab0 commit 2e7527c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
id,file,node,lineNumber,metadata
line:0967160,Packages/dev.yarnspinner.unity/Tests/Editor/TestYarnScript.yarn,Start,8,linemetadata
line:0967160,Packages/dev.yarnspinner.unity/Tests/Editor/TestYarnScript.yarn,Start,8,linemetadata lastline
line:04e806e,Packages/dev.yarnspinner.unity/Tests/Editor/TestYarnScript.yarn,Start,9,linemetadata linemetadata2
2 changes: 1 addition & 1 deletion Tests/Editor/YarnImporterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ public void YarnProjectImporter_UpdatesLineMetadata_WhenBaseScriptChanges()

// Assert: verify the line metadata exists and contains the expected number of entries.
Assert.NotNull(project.lineMetadata);
Assert.AreEqual(project.lineMetadata.GetLineIDs().Count(), 1);
Assert.AreEqual(project.lineMetadata.GetLineIDs().Count(), 2);
}

[Test]
Expand Down

0 comments on commit 2e7527c

Please sign in to comment.