aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-15 09:49:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-15 09:55:34 +0200
commit999c3b70fc3b970727042ff0e4def04b2aa41652 (patch)
tree48d9611c2eed72af0655ada1034695810d0ebc5b /tests/new.testscript
parenta476aa23d46e6485148623c4ae45533df8357f1f (diff)
Improve extraction of summary from README.md in bdep-new
Diffstat (limited to 'tests/new.testscript')
-rw-r--r--tests/new.testscript4
1 files changed, 2 insertions, 2 deletions
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 <<EOI >=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'
}