all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 1a0e9ade94e9e7d8a3a8d5781325ad10408b633b 1517 bytes (raw)
name: gnu/packages/patches/just-remove-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
 
From f38e27675f320366dbfda02348c8f4731d55d464 Mon Sep 17 00:00:00 2001
From: Andrew Jose <arnav.jose@gmail.com>
Date: Thu, 21 Sep 2023 17:43:49 +0530
Subject: [PATCH] remove broken tests

---
 tests/functions.rs | 15 ---------------
 tests/string.rs    | 14 --------------
 2 files changed, 29 deletions(-)

diff --git a/tests/functions.rs b/tests/functions.rs
index 5511329..56f3c09 100644
--- a/tests/functions.rs
+++ b/tests/functions.rs
@@ -25,21 +25,6 @@ foo:
   stderr:   format!("echo {} {} {} {}\n", target::arch(), target::os(), target::family(), num_cpus::get()).as_str(),
 }
 
-#[cfg(not(windows))]
-test! {
-  name:     env_var_functions,
-  justfile: r#"
-p := env_var('USER')
-b := env_var_or_default('ZADDY', 'HTAP')
-x := env_var_or_default('XYZ', 'ABC')
-
-foo:
-  /bin/echo '{{p}}' '{{b}}' '{{x}}'
-"#,
-  stdout:   format!("{} HTAP ABC\n", env::var("USER").unwrap()).as_str(),
-  stderr:   format!("/bin/echo '{}' 'HTAP' 'ABC'\n", env::var("USER").unwrap()).as_str(),
-}
-
 #[cfg(not(windows))]
 test! {
   name: path_functions,
diff --git a/tests/string.rs b/tests/string.rs
index a7e0894..a9fc852 100644
--- a/tests/string.rs
+++ b/tests/string.rs
@@ -366,17 +366,3 @@ test! {
   "#,
   stdout: "\n\nfoo\\n\nbar",
 }
-
-test! {
-  name:     shebang_backtick,
-  justfile: "
-    x := `#!/usr/bin/env sh`
-  ",
-  stderr:   "
-    error: Backticks may not start with `#!`
-      |
-    1 | x := `#!/usr/bin/env sh`
-      |      ^^^^^^^^^^^^^^^^^^^
-  ",
-  status:   EXIT_FAILURE,
-}
-- 
2.34.1


debug log:

solving 1a0e9ade94 ...
found 1a0e9ade94 in https://yhetil.org/guix/20230921124458.580438-11-arnav.jose@gmail.com/

applying [1/1] https://yhetil.org/guix/20230921124458.580438-11-arnav.jose@gmail.com/
diff --git a/gnu/packages/patches/just-remove-test.patch b/gnu/packages/patches/just-remove-test.patch
new file mode 100644
index 0000000000..1a0e9ade94

1:24: trailing whitespace.
 
1:65: trailing whitespace.
-- 
Checking patch gnu/packages/patches/just-remove-test.patch...
1:67: new blank line at EOF.
+
Applied patch gnu/packages/patches/just-remove-test.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 1a0e9ade94e9e7d8a3a8d5781325ad10408b633b	gnu/packages/patches/just-remove-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.