Skip to content

Commit

Permalink
fix example sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRoesler committed Dec 21, 2023
1 parent 7ee4c50 commit 848adb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/file_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
uses: actions/checkout@v4
- name: verify example_test.go
run: |
grep "^func " example_test.go | sort -C
grep "^func " example_test.go | sort -c
10 changes: 5 additions & 5 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,11 @@ func ExampleScheduler_removeJob() {
// 0
}

func ExampleScheduler_shutdown() {
s, _ := NewScheduler()
defer func() { _ = s.Shutdown() }()
}

func ExampleScheduler_start() {
s, _ := NewScheduler()
defer func() { _ = s.Shutdown() }()
Expand Down Expand Up @@ -437,11 +442,6 @@ func ExampleScheduler_stopJobs() {
_ = s.StopJobs()
}

func ExampleScheduler_shutdown() {
s, _ := NewScheduler()
defer func() { _ = s.Shutdown() }()
}

func ExampleScheduler_update() {
s, _ := NewScheduler()
defer func() { _ = s.Shutdown() }()
Expand Down

0 comments on commit 848adb4

Please sign in to comment.