unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] test: fix an evident copy-paste error in argument parsing test
@ 2012-12-03 22:54 Jani Nikula
  2012-12-03 23:15 ` Austin Clements
  2012-12-04 13:14 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: Jani Nikula @ 2012-12-03 22:54 UTC (permalink / raw)
  To: notmuch

---
 test/arg-test.c       |    2 +-
 test/argument-parsing |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/arg-test.c b/test/arg-test.c
index adc56e3..6c49eac 100644
--- a/test/arg-test.c
+++ b/test/arg-test.c
@@ -41,7 +41,7 @@ int main(int argc, char **argv){
 	printf("positional arg 1 %s\n", pos_arg1);
 
     if (pos_arg2)
-	printf("positional arg 2 %s\n", pos_arg1);
+	printf("positional arg 2 %s\n", pos_arg2);
 
 
     for ( ; opt_index < argc ; opt_index ++) {
diff --git a/test/argument-parsing b/test/argument-parsing
index 672de0b..94e9087 100755
--- a/test/argument-parsing
+++ b/test/argument-parsing
@@ -9,7 +9,7 @@ keyword 1
 int 7
 string foo
 positional arg 1 pos1
-positional arg 2 pos1
+positional arg 2 pos2
 EOF
 test_expect_equal_file OUTPUT EXPECTED
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: fix an evident copy-paste error in argument parsing test
  2012-12-03 22:54 [PATCH] test: fix an evident copy-paste error in argument parsing test Jani Nikula
@ 2012-12-03 23:15 ` Austin Clements
  2012-12-04 13:14 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Austin Clements @ 2012-12-03 23:15 UTC (permalink / raw)
  To: Jani Nikula, notmuch

On Mon, 03 Dec 2012, Jani Nikula <jani@nikula.org> wrote:
> ---
>  test/arg-test.c       |    2 +-
>  test/argument-parsing |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/arg-test.c b/test/arg-test.c
> index adc56e3..6c49eac 100644
> --- a/test/arg-test.c
> +++ b/test/arg-test.c
> @@ -41,7 +41,7 @@ int main(int argc, char **argv){
>  	printf("positional arg 1 %s\n", pos_arg1);
>  
>      if (pos_arg2)
> -	printf("positional arg 2 %s\n", pos_arg1);
> +	printf("positional arg 2 %s\n", pos_arg2);
>  
>  
>      for ( ; opt_index < argc ; opt_index ++) {
> diff --git a/test/argument-parsing b/test/argument-parsing
> index 672de0b..94e9087 100755
> --- a/test/argument-parsing
> +++ b/test/argument-parsing
> @@ -9,7 +9,7 @@ keyword 1
>  int 7
>  string foo
>  positional arg 1 pos1
> -positional arg 2 pos1
> +positional arg 2 pos2

Someone obviously didn't check their test output.

>  EOF
>  test_expect_equal_file OUTPUT EXPECTED
>  

LGTM.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] test: fix an evident copy-paste error in argument parsing test
  2012-12-03 22:54 [PATCH] test: fix an evident copy-paste error in argument parsing test Jani Nikula
  2012-12-03 23:15 ` Austin Clements
@ 2012-12-04 13:14 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2012-12-04 13:14 UTC (permalink / raw)
  To: Jani Nikula, notmuch

Jani Nikula <jani@nikula.org> writes:

> ---
>  test/arg-test.c       |    2 +-
>  test/argument-parsing |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

pushed,

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-04 13:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 22:54 [PATCH] test: fix an evident copy-paste error in argument parsing test Jani Nikula
2012-12-03 23:15 ` Austin Clements
2012-12-04 13:14 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).