From 7aab8f5ade948523d9b76605336b162ce84be248 Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Mon, 23 Oct 2023 16:59:25 +0100 Subject: [PATCH] reordering --- .../src/test/java/tech/pegasys/teku/kzg/KZGTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infrastructure/kzg/src/test/java/tech/pegasys/teku/kzg/KZGTest.java b/infrastructure/kzg/src/test/java/tech/pegasys/teku/kzg/KZGTest.java index c89cd7aaed6..47a9d36668f 100644 --- a/infrastructure/kzg/src/test/java/tech/pegasys/teku/kzg/KZGTest.java +++ b/infrastructure/kzg/src/test/java/tech/pegasys/teku/kzg/KZGTest.java @@ -55,17 +55,17 @@ public void setUp() { loadTrustedSetup(); } - @AfterAll - public static void cleanUp() { - KZG.freeTrustedSetup(); - } - private static void loadTrustedSetup() { final String trustedSetup = Resources.getResource(TrustedSetups.class, TRUSTED_SETUP_PATH).toExternalForm(); KZG.loadTrustedSetup(trustedSetup); } + @AfterAll + public static void cleanUp() { + KZG.freeTrustedSetup(); + } + @Test public void testKzgLoadSameTrustedSetupTwice_shouldNotThrowException() { loadTrustedSetup();