From 21af79d49ca54116e7249be80dd1a380dda8a68f Mon Sep 17 00:00:00 2001 From: rillig Date: Mon, 4 Jan 2021 21:11:43 +0000 Subject: regress/infra-unittests: use single quotes for string literals --- regress/infra-unittests/test.subr | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'regress/infra-unittests') diff --git a/regress/infra-unittests/test.subr b/regress/infra-unittests/test.subr index 61e0a6d691b..a97568c6bee 100644 --- a/regress/infra-unittests/test.subr +++ b/regress/infra-unittests/test.subr @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: test.subr,v 1.16 2020/06/07 05:53:53 rillig Exp $ +# $NetBSD: test.subr,v 1.17 2021/01/04 21:11:43 rillig Exp $ # # This file defines utilities for testing Makefile fragments and shell # programs from the pkgsrc infrastructure. While testing one part of the @@ -15,7 +15,7 @@ # These functions form the structure for a test. To define a test, use the # following pattern: # -# if test_case_begin "description of the test"; then +# if test_case_begin 'description of the test'; then # ... # test_case_end # fi @@ -47,9 +47,9 @@ # Example: # # hello=$(mock_cmd mock-hello \ -# --when-args "" --then-output "Hello, world!" \ -# --when-args "-t" --then-output "hello, world" \ -# --when-args "-?" --then-exit 1 +# --when-args '' --then-output 'Hello, world!' \ +# --when-args '-t' --then-output 'hello, world' \ +# --when-args '-?' --then-exit 1 # ) # # create_file $filename <