[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 9485450222 6/8: ob-shell-test.org: Remove ob-shell-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 9485450222 6/8: ob-shell-test.org: Remove ob-shell-test.org |
Date: |
Wed, 11 Jan 2023 11:58:07 -0500 (EST) |
branch: externals/org
commit 9485450222cda5c3f09e02f6055aefea128ea215
Author: Matt Trzcinski <matt@excalamus.com>
Commit: Matt Trzcinski <matt@excalamus.com>
ob-shell-test.org: Remove ob-shell-test.org
* testing/examples/ob-shell-test.org: Delete file
File was used by test-ob-shell.el to test ob-shell.el. Tests have
been updated to use temporary buffers, rendering ob-shell-test.org
unnecessary.
---
testing/examples/ob-shell-test.org | 88 --------------------------------------
1 file changed, 88 deletions(-)
diff --git a/testing/examples/ob-shell-test.org
b/testing/examples/ob-shell-test.org
deleted file mode 100644
index 2510f4f96d..0000000000
--- a/testing/examples/ob-shell-test.org
+++ /dev/null
@@ -1,88 +0,0 @@
-#+Title: a collection of examples for ob-shell tests
-#+OPTIONS: ^:nil
-
-* Sample data structures
-#+NAME: sample_array
-| one |
-| two |
-| three |
-
-#+NAME: sample_mapping_table
-| first | one |
-| second | two |
-| third | three |
-
-#+NAME: sample_big_table
-| bread | 2 | kg |
-| spaghetti | 20 | cm |
-| milk | 50 | dl |
-
-* Array tests
- :PROPERTIES:
- :ID: 0ba56632-8dc1-405c-a083-c204bae477cf
- :END:
-** Generic shell: no arrays
-#+begin_src sh :exports results :results output :var array=sample_array
-echo ${array}
-#+end_src
-
-#+RESULTS:
-: one two three
-
-** Bash shell: support for arrays
-Bash will see a simple indexed array. In this test, we check that the
-returned value is indeed only the first item of the array, as opposed to
-the generic serialiation that will return all elements of the array as
-a single string.
-#+begin_src bash :exports results :results output :var array=sample_array
-echo ${array}
-#+end_src
-
-#+RESULTS:
-: one
-
-* Associative array tests (simple map)
- :PROPERTIES:
- :ID: bec1a5b0-4619-4450-a8c0-2a746b44bf8d
- :END:
-** Generic shell: no special handing
-The shell will see all values as a single string.
-#+begin_src sh :exports results :results output :var table=sample_mapping_table
-echo ${table}
-#+end_src
-
-#+RESULTS:
-: first one second two third three
-
-** Bash shell: support for associative arrays
-Bash will see a table that contains the first column as the 'index'
-of the associative array, and the second column as the value.
-#+begin_src bash :exports :results output results :var
table=sample_mapping_table
-echo ${table[second]}
-#+end_src
-
-#+RESULTS:
-: two
-
-* Associative array tests (more than 2 columns)
- :PROPERTIES:
- :ID: 82320a48-3409-49d7-85c9-5de1c6d3ff87
- :END:
-** Generic shell: no special handing
-#+begin_src sh :exports results :results output :var table=sample_big_table
-echo ${table}
-#+end_src
-
-#+RESULTS:
-: bread 2 kg spaghetti 20 cm milk 50 dl
-
-** Bash shell: support for associative arrays with lists
-Bash will see an associative array that contains each row as a single
-string. Bash cannot handle lists in associative arrays.
-#+begin_src bash :exports results :results output :var table=sample_big_table
-echo ${table[spaghetti]}
-#+end_src
-
-#+RESULTS:
-: 20 cm
-
- [elpa] externals/org updated (07c63df9c7 -> 4f319088ba), ELPA Syncer, 2023/01/11
- [elpa] externals/org 4f319088ba 8/8: Merge branch 'ob-shell-cleanup-tests', ELPA Syncer, 2023/01/11
- [elpa] externals/org e204c3a6cc 1/8: test-ob-shell.el: Split test-ob-shell/dont-error-on-empty-results, ELPA Syncer, 2023/01/11
- [elpa] externals/org 6e0012867d 2/8: test-ob-shell.el: Refactor test-ob-shell/session, ELPA Syncer, 2023/01/11
- [elpa] externals/org 9485450222 6/8: ob-shell-test.org: Remove ob-shell-test.org,
ELPA Syncer <=
- [elpa] externals/org 2a0f5a5153 4/8: Refactor ob-shell/bash-uses-assoc-arrays, ELPA Syncer, 2023/01/11
- [elpa] externals/org 9ed2821053 7/8: test-ob-shell.el: Organize tests, ELPA Syncer, 2023/01/11
- [elpa] externals/org 728e7fca81 3/8: test-ob-shell.el: Refactor ob-shell/generic-uses-no-assoc-arrays, ELPA Syncer, 2023/01/11
- [elpa] externals/org 3dbc7849a3 5/8: test-ob-shell.el: Refactor test names and kill test buffers, ELPA Syncer, 2023/01/11