Skip to content

Commit 477914f

Browse files
chore(tests): bump steady to v0.19.4
1 parent 36d0db0 commit 477914f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

buildSrc/src/main/kotlin/orb.kotlin.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ tasks.withType<Test>().configureEach {
4040

4141
val ktfmt by configurations.creating
4242
dependencies {
43-
ktfmt("com.facebook:ktfmt:0.56")
43+
ktfmt("com.facebook:ktfmt:0.61")
4444
}
4545

4646
fun registerKtfmt(

scripts/fast-format

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ if [ ! -f "$FILE_LIST" ]; then
2424
exit 1
2525
fi
2626

27-
if ! command -v ktfmt-fast-format &> /dev/null; then
28-
echo "Error: ktfmt-fast-format not found"
27+
if ! command -v ktfmt &> /dev/null; then
28+
echo "Error: ktfmt not found"
2929
exit 1
3030
fi
3131

@@ -36,7 +36,7 @@ echo "==> Done looking for Kotlin files"
3636

3737
if [[ -n "$kt_files" ]]; then
3838
echo "==> will format Kotlin files"
39-
echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt-fast-format --kotlinlang-style "$@"
39+
echo "$kt_files" | tr '\n' '\0' | xargs -0 ktfmt --kotlinlang-style "$@"
4040
else
4141
echo "No Kotlin files to format -- expected outcome during incremental formatting"
4242
fi

scripts/mock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}"
2222
# Run steady mock on the given spec
2323
if [ "$1" == "--daemon" ]; then
2424
# Pre-install the package so the download doesn't eat into the startup timeout
25-
npm exec --package=@stdy/cli@0.19.3 -- steady --version
25+
npm exec --package=@stdy/cli@0.19.4 -- steady --version
2626

27-
npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log &
27+
npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log &
2828

2929
# Wait for server to come online via health endpoint (max 30s)
3030
echo -n "Waiting for server"
@@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then
4848

4949
echo
5050
else
51-
npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets "$URL"
51+
npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL"
5252
fi

scripts/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ elif ! steady_is_running ; then
4343
echo -e "To run the server, pass in the path or url of your OpenAPI"
4444
echo -e "spec to the steady command:"
4545
echo
46-
echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.3 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets${NC}"
46+
echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.4 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}"
4747
echo
4848

4949
exit 1

0 commit comments

Comments
 (0)