Skip to content

Commit

Permalink
Update ClassGenerationTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter authored Sep 26, 2023
1 parent 166212e commit 2af7bd4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public async Task Verify_output(TypeScriptTypeStyle style, decimal version)
var output = await PrepareAsync(settings);

//// Assert
Assert.Contains("dateOfBirth = ko.observable<Date>();", code);
Assert.Contains("init(_data?: any) {", code);
Assert.Contains("dateOfBirth = ko.observable<Date>();", output);
Assert.Contains("init(_data?: any) {", output);

await Verify(output).UseParameters(style, version);
}
Expand Down Expand Up @@ -329,4 +329,4 @@ public sealed class MyPropertyClass
public string MyStringProperty { get; set; }
}
}
}
}

0 comments on commit 2af7bd4

Please sign in to comment.