From 8170ef883998c9ba4c2c71531012889641fe8399 Mon Sep 17 00:00:00 2001 From: Daco Harkes Date: Tue, 20 Feb 2024 12:31:30 +0100 Subject: [PATCH] Fix windows test --- pkgs/native_assets_cli/test/model/asset_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/native_assets_cli/test/model/asset_test.dart b/pkgs/native_assets_cli/test/model/asset_test.dart index d2faa185c..0d9027472 100644 --- a/pkgs/native_assets_cli/test/model/asset_test.dart +++ b/pkgs/native_assets_cli/test/model/asset_test.dart @@ -169,7 +169,7 @@ void main() { test('asset yaml', () { final yaml = yamlEncode([ for (final item in assets) item.toYaml(BuildOutputImpl.latestVersion) - ]); + ]).replaceAll('\\', '/'); expect(yaml, assetsYamlEncoding); final assets2 = AssetImpl.listFromYamlList(loadYaml(yaml) as YamlList); expect(assets, assets2);