Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-21 06:08:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-21 06:08:00 +0300
commit76937b2add54d9ecfd1310847e244ac833d90e3b (patch)
tree5cd90d42e1f3b43ce4cebab8b7ae22cd5ab8136b /doc/development/refactoring_guide
parent5abd2b70c81fbba71ea51994b325ddebc54b53db (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/refactoring_guide')
-rw-r--r--doc/development/refactoring_guide/index.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/development/refactoring_guide/index.md b/doc/development/refactoring_guide/index.md
index 4bd9d0e9c11..3c38f03f525 100644
--- a/doc/development/refactoring_guide/index.md
+++ b/doc/development/refactoring_guide/index.md
@@ -21,7 +21,7 @@ Pinning tests help you ensure that you don't unintentionally change the output o
Leaving in the commits for adding and removing pins helps others checkout and verify the result of the test.
-```bash
+```shell
AAAAAA Add pinning tests to funky_foo
BBBBBB Refactor funky_foo into nice_foo
CCCCCC Remove pinning tests for funky_foo
@@ -31,13 +31,13 @@ Then you can leave a reviewer instructions on how to run the pinning test in you
> First revert the commit which removes the pin.
>
-> ```bash
+> ```shell
> git revert --no-commit $(git log -1 --grep="Remove pinning test for funky_foo" --pretty=format:"%H")
> ```
>
> Then run the test
>
-> ```bash
+> ```shell
> yarn run jest path/to/funky_foo_pin_spec.js
> ```