Skip to content

Commit

Permalink
fix compare condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Readon authored Nov 7, 2023
1 parent efd8113 commit 5e18730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ do_test(){

sed -i "s/\(val spinalVersion = \)\(\".*\"\)/\1\"${_spinal_version}\"/" build.sbt
sed -i "s/\(scalaVersion := \)\(\".*\"\)/\1\"${_scala_full_version}\"/" build.sbt
if [ is_version_smaller_eq ${_spinal_version} ${_spinal_with_wrong_scalatest_version} ]; then
if [ $(is_version_smaller_eq ${_spinal_version} ${_spinal_with_wrong_scalatest_version}) == "true" ]; then
sed -i '/spinalIdslPlugin =/a\
val scalaTest = "org.scalatest" %% "scalatest" % "3.2.14"' build.sbt
sed -i 's/\(, spinalIdslPlugin\)/\1, scalaTest/' build.sbt
Expand Down

0 comments on commit 5e18730

Please sign in to comment.