Skip to content

Commit 1d9f326

Browse files
committed
Fix format
1 parent f7f0557 commit 1d9f326

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/format.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
# Extensions necessary to tell fourmolu about
44
EXTENSIONS="-o -XTypeApplications -o -XTemplateHaskell -o -XImportQualifiedPost -o -XPatternSynonyms -o -fplugin=RecordDotPreprocessor"
55
SOURCES=$(git ls-tree -r HEAD --full-tree --name-only | grep -E '.*\.hs')
6-
~/.local/bin/fourmolu --mode check --check-idempotence $EXTENSIONS $SOURCES
6+
fourmolu --mode inplace $EXTENSIONS $SOURCES

test/Spec/BotPlutusInterface/Config.hs

+6-6
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ tests =
4848
, testCase
4949
"PABConfig example serialize/deserialize (without pcProtocolParams)"
5050
( serializeDeserialize pabConfigExample
51-
@?= Right pabConfigExample{pcProtocolParams = def}
51+
@?= Right pabConfigExample {pcProtocolParams = def}
5252
)
5353
, testCase
5454
"PABConfig example serialize/deserialize (without pcProtocolParams)"
@@ -156,10 +156,10 @@ pabConfigExample =
156156
[
157157
( AnyPlutusScriptVersion PlutusScriptV2
158158
, CostModel
159-
( Map.fromList
160-
[ ("add_integer-cpu-arguments-intercept", 123456)
161-
]
162-
)
159+
( Map.fromList
160+
[ ("add_integer-cpu-arguments-intercept", 123456)
161+
]
162+
)
163163
)
164164
]
165165
, protocolParamPrices = Just (ExecutionUnitPrices {priceExecutionSteps = 1 % 9, priceExecutionMemory = 1 % 10})
@@ -178,7 +178,7 @@ pabConfigExample =
178178
, pcProtocolParamsFile = "./protocol.json3"
179179
, pcLogLevel = Debug
180180
, pcOwnPubKeyHash = "0f45aaf1b2959db6e5ff94dbb1f823bf257680c3c723ac2d49f97546"
181-
, pcForceBudget = Just (1000,1000)
181+
, pcForceBudget = Just (1000, 1000)
182182
, pcPort = 1021
183183
, pcEnableTxEndpoint = True
184184
}

0 commit comments

Comments
 (0)