Last active
May 30, 2024 06:06
-
-
Save masaru-b-cl/71f9e92d3a47504e78642e79fd016235 to your computer and use it in GitHub Desktop.
アンスコをキーに持つJSONのテスト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_hoge": "piyo" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc: アンスコをキーに持つJSONのテスト | |
runners: | |
req: https://gist.githubusercontent.com/ | |
steps: | |
- req: | |
/masaru-b-cl/71f9e92d3a47504e78642e79fd016235/raw/f0f248e49a800b2c992086f67f3f985b5db73a9a/test.json: | |
get: | |
body: | |
application/json: null | |
test: | | |
current.res.status == 200 | |
- dump: steps[0].res.body | |
- dump: steps[0].res.rawBody |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
application/jsonレスポンスのbodyに"_"始まりのキーがあると、step.res.bodyにマップされない - 読者コミュニティ|runn クックブック
https://zenn.dev/k1low/scraps/cf7c7ef06f9051#comment-09dd556854be74
用のテストコード