Skip to content

Instantly share code, notes, and snippets.

@stmuk
Created August 11, 2013 13:50
Show Gist options
  • Save stmuk/6204986 to your computer and use it in GitHub Desktop.
Save stmuk/6204986 to your computer and use it in GitHub Desktop.
[PATCH] import of spectest for RT #78258
From 813a6c0ba5478dbfe454e5ece4b652c831817edb Mon Sep 17 00:00:00 2001
From: Steve Mynott <[email protected]>
Date: Sun, 11 Aug 2013 14:45:21 +0100
Subject: [PATCH] import of spectest for RT #78258
---
78258.t | 5 +++++
UsedEnv.pm6 | 7 +++++++
2 files changed, 12 insertions(+)
create mode 100644 78258.t
create mode 100644 UsedEnv.pm6
diff --git a/78258.t b/78258.t
new file mode 100644
index 0000000..0cb85e4
--- /dev/null
+++ b/78258.t
@@ -0,0 +1,5 @@
+use v6;
+
+BEGIN @*INC.push: 't/spec/S02-magicals/';
+use UsedEnv;
+
diff --git a/UsedEnv.pm6 b/UsedEnv.pm6
new file mode 100644
index 0000000..b13a9f4
--- /dev/null
+++ b/UsedEnv.pm6
@@ -0,0 +1,7 @@
+module UsedEnv {
+ use Test;
+ plan 1;
+ ok %*ENV.exists('PATH'), "env exists in use (RT #78258)";
+ done;
+}
+
--
1.7.10.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment