From e4f3d334ed35888595d3d13dd820744cf4b11788 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 17 Oct 2020 22:12:02 -0600 Subject: [PATCH] Consistent naming of random seed --- src/spectator/config.cr | 2 +- src/spectator/config_builder.cr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spectator/config.cr b/src/spectator/config.cr index 1d1a535..a877108 100644 --- a/src/spectator/config.cr +++ b/src/spectator/config.cr @@ -37,7 +37,7 @@ module Spectator @fail_blank = builder.fail_blank? @dry_run = builder.dry_run? @randomize = builder.randomize? - @random_seed = builder.seed + @random_seed = builder.random_seed @profile = builder.profile? @example_filter = builder.example_filter end diff --git a/src/spectator/config_builder.cr b/src/spectator/config_builder.cr index 8a4b044..3fb10cb 100644 --- a/src/spectator/config_builder.cr +++ b/src/spectator/config_builder.cr @@ -14,7 +14,7 @@ module Spectator end # Seed used for random number generation. - property seed : UInt64 = Random.rand(UInt64) + property random_seed : UInt64 = Random.rand(UInt64) @primary_formatter : Formatting::Formatter? @additional_formatters = [] of Formatting::Formatter