about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/multiple-outputs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple-outputs.nix b/tests/multiple-outputs.nix
index 09946137d7c8..6add7dd6f997 100644
--- a/tests/multiple-outputs.nix
+++ b/tests/multiple-outputs.nix
@@ -17,8 +17,8 @@ rec {
 
   b = mkDerivation {
     defaultOutput = assert a.second.helloString == "Hello, world!"; a;
-    firstOutput = a.first.first;
-    secondOutput = a.second.first.first.second.second.first.second;
+    firstOutput = assert a.outputName == "first"; a.first.first;
+    secondOutput = assert a.second.outputName == "second"; a.second.first.first.second.second.first.second;
     allOutputs = a.all;
     name = "multiple-outputs-b";
     builder = builtins.toFile "builder.sh"