Skip to content

Commit 3c5af9a

Browse files
committed
fix test
1 parent c24efa2 commit 3c5af9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dart/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ check_packages() {
2020
}
2121

2222
check_packages git
23-
LATEST_VERSION="$(git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP "(?<=refs/tags)/[0-9]+\\.[0-9]+\\.[0-9]+$" | sort -V | tail -n 1)"
23+
LATEST_VERSION="$(git ls-remote --tags https://github.com/dart-lang/sdk | grep -oP "(?<=refs/tags/)[0-9]+\\.[0-9]+\\.[0-9]+$" | sort -V | tail -n 1)"
2424

2525
check 'dart' bash -c "dart --version | grep ${LATEST_VERSION}"
2626

0 commit comments

Comments
 (0)