From 20b80cc85a507a54051bf6fa3f7ee14ed8879840 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sun, 3 Nov 2019 10:07:32 -0700 Subject: [PATCH] Formatting --- src/spectator/dsl/mocks.cr | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/spectator/dsl/mocks.cr b/src/spectator/dsl/mocks.cr index 920d29f..5d1e927 100644 --- a/src/spectator/dsl/mocks.cr +++ b/src/spectator/dsl/mocks.cr @@ -24,14 +24,13 @@ module Spectator::DSL end {% else %} {% resolved = name.resolve - type = if resolved < Reference - :class - elsif resolved < Value - :struct - else - :module - end - %} + type = if resolved < Reference + :class + elsif resolved < Value + :struct + else + :module + end %} {{type.id}} ::{{resolved.id}} include ::Spectator::Mocks::Stubs