Skip to content

Commit d4de8d1

Browse files
committed
Added trailing sep in acceptance tests
1 parent 1433c0c commit d4de8d1

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

examples/findfiles.cf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ bundle agent run
4040
###############################################################################
4141
#+begin_src example_output
4242
#@ ```
43-
#@ R: All files that match '/[tT][mM][pP]' = /tmp
43+
#@ R: All files that match '/[tT][mM][pP]' = /tmp/
4444
#@ ```
4545
#+end_src

tests/acceptance/01_vars/02_functions/findfiles.cf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ bundle agent check
7474
{
7575
vars:
7676
!windows::
77-
"expected[a]" string => "$(G.testdir)/a,$(G.testdir)/d,$(G.testdir)/g";
78-
"expected[b]" string => "$(G.testdir)/a,$(G.testdir)/bc,$(G.testdir)/d,$(G.testdir)/g,$(G.testdir)/klm,$(G.testdir)/tu";
77+
"expected[a]" string => "$(G.testdir)/a,$(G.testdir)/d/,$(G.testdir)/g/";
78+
"expected[b]" string => "$(G.testdir)/a,$(G.testdir)/bc,$(G.testdir)/d/,$(G.testdir)/g/,$(G.testdir)/klm/,$(G.testdir)/tu/";
7979

80-
"expected[c]" string => "$(G.testdir)/d/e,$(G.testdir)/g/h";
80+
"expected[c]" string => "$(G.testdir)/d/e/,$(G.testdir)/g/h/";
8181
"expected[d]" string => "$(G.testdir)/a,$(G.testdir)/bc";
8282
"expected[e]" string => "";
8383

8484
"expected[f]" string => "$(G.testdir)/tu/*";
85-
"expected[g]" string => "$(G.testdir)/a,$(G.testdir)/bc,$(G.testdir)/d,$(G.testdir)/g,$(G.testdir)/klm,$(G.testdir)/tu,$(G.testdir)/d/e,$(G.testdir)/g/h,$(G.testdir)/klm/nop,$(G.testdir)/tu/*,$(G.testdir)/d/e/f,$(G.testdir)/g/h/i,$(G.testdir)/klm/nop/qrs,$(G.testdir)/g/h/i/j";
85+
"expected[g]" string => "$(G.testdir)/a,$(G.testdir)/bc,$(G.testdir)/d/,$(G.testdir)/g/,$(G.testdir)/klm/,$(G.testdir)/tu/,$(G.testdir)/d/e/,$(G.testdir)/g/h/,$(G.testdir)/klm/nop/,$(G.testdir)/tu/*,$(G.testdir)/d/e/f,$(G.testdir)/g/h/i/,$(G.testdir)/klm/nop/qrs,$(G.testdir)/g/h/i/j";
8686
"expected[h]" string => "$(G.testdir)/g/h/i/j";
8787
windows::
8888
"expected[a]" string => "$(G.testdir)\\a,$(G.testdir)\\d,$(G.testdir)\\g";

tests/acceptance/01_vars/02_functions/findfiles_up.cf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ bundle agent check
7474
);
7575
"c3"
7676
expression => and(
77-
strcmp("$(G.testdir)\\core\\libntech\\.git", "$(test.t3[0])"),
78-
strcmp("$(G.testdir)\\core\\.git", "$(test.t3[1])")
77+
strcmp("$(G.testdir)\\core\\libntech\\.git\\", "$(test.t3[0])"),
78+
strcmp("$(G.testdir)\\core\\.git\\", "$(test.t3[1])")
7979
);
8080
"c4"
8181
expression => and(
82-
strcmp("$(G.testdir)\\core\\libntech\\.git", "$(test.t4[0])"),
82+
strcmp("$(G.testdir)\\core\\libntech\\.git\\", "$(test.t4[0])"),
8383
not(isvariable("test.t4[1]"))
8484
);
8585
"c5"
@@ -106,12 +106,12 @@ bundle agent check
106106
);
107107
"c3"
108108
expression => and(
109-
strcmp("$(G.testdir)/core/libntech/.git", "$(test.t3[0])"),
110-
strcmp("$(G.testdir)/core/.git", "$(test.t3[1])")
109+
strcmp("$(G.testdir)/core/libntech/.git/", "$(test.t3[0])"),
110+
strcmp("$(G.testdir)/core/.git/", "$(test.t3[1])")
111111
);
112112
"c4"
113113
expression => and(
114-
strcmp("$(G.testdir)/core/libntech/.git", "$(test.t4[0])"),
114+
strcmp("$(G.testdir)/core/libntech/.git/", "$(test.t4[0])"),
115115
not(isvariable("test.t4[1]"))
116116
);
117117
"c5"

0 commit comments

Comments
 (0)