Skip to content

Commit

Permalink
Fix elvis
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth committed Nov 6, 2016
1 parent c1e281c commit ec13427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/statsderl_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ timing_subtest(Socket) ->

timing_now_subtest(Socket) ->
meck:new(statsderl_utils, [passthrough, no_history]),
Seq = meck:loop([{1448, 573975, 400000}, {1448, 573975, 500000}]),
Seq = meck:loop([{1448, 573976, 400000}, {1448, 573976, 500000}]),
meck:expect(statsderl_utils, timestamp, [], Seq),
statsderl:timing_now("test", statsderl_utils:timestamp(), 1),
assert_packet(Socket, <<"test:100|ms">>),
meck:unload(statsderl_utils).

timing_now_us_subtest(Socket) ->
meck:new(statsderl_utils, [passthrough, no_history]),
Seq = meck:loop([{1448, 573975, 400000}, {1448, 573975, 500000}]),
Seq = meck:loop([{1448, 573977, 400000}, {1448, 573977, 500000}]),
meck:expect(statsderl_utils, timestamp, [], Seq),
statsderl:timing_now_us("test", statsderl_utils:timestamp(), 1),
assert_packet(Socket, <<"test:100000|ms">>),
Expand Down

0 comments on commit ec13427

Please sign in to comment.