-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright (c) quickfixengine.org All rights reserved. | ||
// | ||
// This file may be distributed under the terms of the quickfixengine.org | ||
// license as defined by quickfixengine.org and appearing in the file | ||
// LICENSE included in the packaging of this file. | ||
// | ||
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING | ||
// THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A | ||
// PARTICULAR PURPOSE. | ||
// | ||
// See http://www.quickfixengine.org/LICENSE for licensing information. | ||
// | ||
// Contact [email protected] if any conditions of this licensing | ||
// are not clear to you. | ||
|
||
package internal | ||
|
||
import ( | ||
"testing" | ||
) | ||
|
||
func TestEventTimer_Stop_idempotent(*testing.T) { | ||
t := NewEventTimer(func() {}) | ||
|
||
t.Stop() | ||
t.Stop() | ||
} |