From dc180da2125df5eb8953ee98123ba7d73b676ff6 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 20 Oct 2013 09:32:32 +0200 Subject: o Updating tests. --- test/app-init.bats | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/app-init.bats') diff --git a/test/app-init.bats b/test/app-init.bats index 2a3e1d8..ebf850c 100755 --- a/test/app-init.bats +++ b/test/app-init.bats @@ -24,13 +24,14 @@ load utils app init -d my-app maven -r "file://$BATS_TMPDIR/repo" org.example:app-a:1.0-SNAPSHOT; echo_lines eq '$status' 0 - eq '${lines[0]}' "Resolving version 1.0-SNAPSHOT..." + eq '${lines[0]}' "Resolving Maven version 1.0-SNAPSHOT..." match '${lines[1]}' "Resolved version to 1.0-.*" match '${lines[2]}' "Downloading org.example:app-a:1.0-.*" eq '${lines[3]}' "Unpacking..." - match '${lines[4]}' "Creating current symlink for version 1.0-.*" - eq '${lines[5]}' "Post install" - eq '${#lines[*]}' 6 + match '${lines[4]}' "Importing config from versions/1.0-*" + match '${lines[5]}' "Creating current symlink for version 1.0-.*" + eq '${lines[6]}' "Post install" + eq '${#lines[*]}' 7 is_directory "my-app/.app" # Created by post-install -- cgit v1.2.3