From 6bbe187a1a2c87b3249bd159d9d2401d190aa6a5 Mon Sep 17 00:00:00 2001 From: gedi Date: Wed, 8 Feb 2017 15:09:40 +0200 Subject: [PATCH] closes #60 --- sqlmock.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sqlmock.go b/sqlmock.go index 2052174..b906a3f 100644 --- a/sqlmock.go +++ b/sqlmock.go @@ -67,6 +67,11 @@ type Sqlmock interface { // By default it is set to - true. But if you use goroutines // to parallelize your query executation, that option may // be handy. + // + // This option may be turned on anytime during tests. As soon + // as it is switched to false, expectations will be matched + // in any order. Or otherwise if switched to true, any unmatched + // expectations will be expected in order MatchExpectationsInOrder(bool) }