Skip to content

Commit

Permalink
quote task_local_storage in docstrings (#39306)
Browse files Browse the repository at this point in the history
Without the quoting, several terminals render the string as 
```
help?> Test.push_testset
  push_testset(ts::AbstractTestSet)

  Adds the test set to the tasklocalstorage.
```
with the word `local` being underlined.
  • Loading branch information
baggepinnen committed Jan 18, 2021
1 parent e6cbfda commit 642a88c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/Test/src/Test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1302,7 +1302,7 @@ end
"""
push_testset(ts::AbstractTestSet)
Adds the test set to the task_local_storage.
Adds the test set to the `task_local_storage`.
"""
function push_testset(ts::AbstractTestSet)
testsets = get(task_local_storage(), :__BASETESTNEXT__, AbstractTestSet[])
Expand All @@ -1313,7 +1313,7 @@ end
"""
pop_testset()
Pops the last test set added to the task_local_storage. If there are no
Pops the last test set added to the `task_local_storage`. If there are no
active test sets, returns the fallback default test set.
"""
function pop_testset()
Expand Down

0 comments on commit 642a88c

Please sign in to comment.