mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
parent
ff4e295c4f
commit
5012d46cbd
871 changed files with 5480 additions and 6056 deletions
|
@ -26,7 +26,6 @@ describe DistributedMutex do
|
|||
|
||||
$redis.setnx "test_mutex_key", Time.now.to_i - 1
|
||||
|
||||
|
||||
start = Time.now.to_i
|
||||
m.synchronize do
|
||||
"nop"
|
||||
|
@ -41,7 +40,7 @@ describe DistributedMutex do
|
|||
|
||||
expect {
|
||||
m.synchronize do
|
||||
m.synchronize{}
|
||||
m.synchronize {}
|
||||
end
|
||||
}.to raise_error(ThreadError)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue