From 999c3b70fc3b970727042ff0e4def04b2aa41652 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 15 Nov 2023 09:49:59 +0200 Subject: Improve extraction of summary from README.md in bdep-new --- tests/new.testscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/new.testscript') diff --git a/tests/new.testscript b/tests/new.testscript index 82d41f5..7175a30 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -1716,7 +1716,7 @@ i = [cmdline] $build install: config.install.root=./install &install/*** cat <=libfoo/README.md &!libfoo/README.md; # libfoo - cool foo + Cool foo. Some more stuff. EOI @@ -1732,7 +1732,7 @@ i = [cmdline] $build install: config.install.root=./install &install/*** created new library project libfoo in $~/libfoo/ EOE test -f libfoo/.gitignore; - sed -n -e 's/^summary: (.+)$/\1/p' libfoo/manifest >'cool foo'; + sed -n -e 's/^summary: (.+)$/\1/p' libfoo/manifest >'Cool foo'; sed -n -e 's/^license: ([^ ]+).*$/\1/p' libfoo/manifest >'Apache-2.0' } -- cgit v1.1