aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorGeorge Roman <george.roman.99@gmail.com>2018-06-17 09:50:17 +0300
committerHisham Muhammad <hisham@gobolinux.org>2018-06-20 11:25:10 -0300
commit010b42ff0949c9e5ad56809389340b3c25abc3a9 (patch)
treef39fac8e16fb62f1bdea51ac816024e6be3d7894 /spec/fixtures
parentbfcb8a9e0826c745efe0189a4b5e8d156fb78684 (diff)
downloadluarocks-010b42ff0949c9e5ad56809389340b3c25abc3a9.tar.gz
luarocks-010b42ff0949c9e5ad56809389340b3c25abc3a9.tar.bz2
luarocks-010b42ff0949c9e5ad56809389340b3c25abc3a9.zip
Tests: improve patch.lua tests
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/invalid_patch.patch20
-rw-r--r--spec/fixtures/lao11
-rw-r--r--spec/fixtures/tzu13
-rw-r--r--spec/fixtures/valid_patch.patch19
4 files changed, 0 insertions, 63 deletions
diff --git a/spec/fixtures/invalid_patch.patch b/spec/fixtures/invalid_patch.patch
deleted file mode 100644
index 75d05c58..00000000
--- a/spec/fixtures/invalid_patch.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1--- lao 2002-02-21 23:30:39.942229878 -0800
2+++ tzu 2002-02-21 23:30:50.442260588 -0800
3@@ -1,7 +1,6 @@
4-The Way that can be told of is not the eternal Way;
5-The name that can be named is not the eternal name.
6 The Nameless is the origin of Heaven and Earth;
7-The Named is the mother of all things.
8+The named is the mother of all things.
9+
10?
11 Therefore let there always be non-being,
12 so we may see their subtlety,
13 And let there always be being,
14@@ -9,3 +8,7 @@
15 The two are the same,
16 But after they are produced,
17 they have different names.
18+They both may be called deep and profound.
19+Deeper and more profound,
20+The door of all subtleties!
diff --git a/spec/fixtures/lao b/spec/fixtures/lao
deleted file mode 100644
index 635ef2c4..00000000
--- a/spec/fixtures/lao
+++ /dev/null
@@ -1,11 +0,0 @@
1The Way that can be told of is not the eternal Way;
2The name that can be named is not the eternal name.
3The Nameless is the origin of Heaven and Earth;
4The Named is the mother of all things.
5Therefore let there always be non-being,
6 so we may see their subtlety,
7And let there always be being,
8 so we may see their outcome.
9The two are the same,
10But after they are produced,
11 they have different names.
diff --git a/spec/fixtures/tzu b/spec/fixtures/tzu
deleted file mode 100644
index 5af88a8f..00000000
--- a/spec/fixtures/tzu
+++ /dev/null
@@ -1,13 +0,0 @@
1The Nameless is the origin of Heaven and Earth;
2The named is the mother of all things.
3
4Therefore let there always be non-being,
5 so we may see their subtlety,
6And let there always be being,
7 so we may see their outcome.
8The two are the same,
9But after they are produced,
10 they have different names.
11They both may be called deep and profound.
12Deeper and more profound,
13The door of all subtleties!
diff --git a/spec/fixtures/valid_patch.patch b/spec/fixtures/valid_patch.patch
deleted file mode 100644
index 042c7d22..00000000
--- a/spec/fixtures/valid_patch.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1--- lao 2002-02-21 23:30:39.942229878 -0800
2+++ tzu 2002-02-21 23:30:50.442260588 -0800
3@@ -1,7 +1,6 @@
4-The Way that can be told of is not the eternal Way;
5-The name that can be named is not the eternal name.
6 The Nameless is the origin of Heaven and Earth;
7-The Named is the mother of all things.
8+The named is the mother of all things.
9+
10 Therefore let there always be non-being,
11 so we may see their subtlety,
12 And let there always be being,
13@@ -9,3 +8,6 @@
14 The two are the same,
15 But after they are produced,
16 they have different names.
17+They both may be called deep and profound.
18+Deeper and more profound,
19+The door of all subtleties!