Permalink
Browse files

added second patsubst test

  • Loading branch information...
1 parent 6bcc5a1 commit 723ee2ae4116b9417b504a1ab45053e83fed1b91 @e-user committed Jan 24, 2011
Showing with 21 additions and 0 deletions.
  1. +21 −0 test/m4-macros.lisp
View
@@ -1532,3 +1532,24 @@ m4
m4eof
:depends (list "patsubst")))
+
+
+(deftest gnu-m4-11.6-2 ()
+ (m4-test
+#>m4>
+patsubst(`abc')
+patsubst(`abc', `')
+patsubst(`abc', `', `\\-')
+m4
+
+#>m4>
+abc
+abc
+\-a\-b\-c\-
+m4
+
+:error #>m4eof>cl-m4:2:15: too few arguments to builtin `patsubst'
+m4eof
+
+:depends (list "patsubst")))
+

0 comments on commit 723ee2a

Please sign in to comment.