From 9f6eca9e62f226b91ff5494dc7fd10cbb6facec3 Mon Sep 17 00:00:00 2001 From: Florian Loitsch Date: Mon, 11 Aug 2025 15:43:26 +0200 Subject: [PATCH] Show lock and yaml file for test with new prefix. --- tests/pkg/assets/install1/gold/install.gold | 22 +++++++++++++++++++++ tests/pkg/install1-gold-test.toit | 2 ++ 2 files changed, 24 insertions(+) diff --git a/tests/pkg/assets/install1/gold/install.gold b/tests/pkg/assets/install1/gold/install.gold index 11c615ed0..e0235a1a4 100644 --- a/tests/pkg/assets/install1/gold/install.gold +++ b/tests/pkg/assets/install1/gold/install.gold @@ -43,3 +43,25 @@ Package 'pkg3' installed with prefix 'pkg3_modified'. exec main3.toit hello from pkg3_modified Exit Code: 0 +================== +== package.yaml +dependencies: + pkg: + path: pkg + prepkg: + path: pkg2 + pkg3_modified: + path: pkg3 +================== +== package.lock +prefixes: + pkg: pkg + prepkg: pkg2 + pkg3_modified: pkg3 +packages: + pkg: + path: pkg + pkg2: + path: pkg2 + pkg3: + path: pkg3 diff --git a/tests/pkg/install1-gold-test.toit b/tests/pkg/install1-gold-test.toit index c1f0b3f38..f40ce74d1 100644 --- a/tests/pkg/install1-gold-test.toit +++ b/tests/pkg/install1-gold-test.toit @@ -24,6 +24,8 @@ test tester/GoldTester: ["// Installing a package where the directory name is not the package name."], ["pkg", "install", "--local", "pkg3"], ["exec", "main3.toit"], + ["package.yaml"], + ["package.lock"], ] tester.gold "install-non-existing" [