Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Mar 26, 2024
1 parent 6a9ff65 commit 0aa2e78
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/Avalonia.Svg.Skia.UnitTests/SvgImageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ public void SvgImage_Load()

var svgFile = assetLoader.Open(uri);
Assert.NotNull(svgFile);

var svgSource = new SvgSource(default(Uri));
var picture = svgSource.Load(svgFile);
Assert.NotNull(picture);

var svgSource = SvgSource.LoadFromStream(svgFile);
Assert.NotNull(svgSource);

var svgImage = new SvgImage() { Source = svgSource };
Assert.NotNull(svgImage);
Expand Down

0 comments on commit 0aa2e78

Please sign in to comment.