<commit_before>namespace GitVersion.Configuration.Init
{
    using System.Collections.Generic;
    using GitVersion.Configuration.Init.Wizard;
    using GitVersion.Helpers;

    public class SetNextVersion : ConfigInitWizardStep
    {
        public SetNextVersion(IConsole console, IFileSystem fileSystem) : base(console, fileSystem)
        {
        }

        protected override StepResult HandleResult(string result, Queue<ConfigInitWizardStep> steps, Config config, string workingDirectory)
        {
            if (string.IsNullOrEmpty(result))
            {
                steps.Enqueue(new EditConfigStep(Console, FileSystem));
                return StepResult.Ok();
            }

            SemanticVersion semVer;
            if (!SemanticVersion.TryParse(result, string.Empty, out semVer))
                return StepResult.InvalidResponseSelected();

            config.NextVersion = semVer.ToString("t");
            steps.Enqueue(new EditConfigStep(Console, FileSystem));
            return StepResult.Ok();
        }

        protected override string GetPrompt(Config config, string workingDirectory)
        {
            return @"What would you like to set the next version to (enter nothing to cancel)?";
        }

        protected override string DefaultResult
        {
            get { throw new System.NotImplementedException(); }
        }
    }
}<commit_msg>Fixed failing test<commit_after>namespace GitVersion.Configuration.Init
{
    using System.Collections.Generic;
    using GitVersion.Configuration.Init.Wizard;
    using GitVersion.Helpers;

    public class SetNextVersion : ConfigInitWizardStep
    {
        public SetNextVersion(IConsole console, IFileSystem fileSystem) : base(console, fileSystem)
        {
        }

        protected override StepResult HandleResult(string result, Queue<ConfigInitWizardStep> steps, Config config, string workingDirectory)
        {
            if (string.IsNullOrEmpty(result))
            {
                steps.Enqueue(new EditConfigStep(Console, FileSystem));
                return StepResult.Ok();
            }

            SemanticVersion semVer;
            if (!SemanticVersion.TryParse(result, string.Empty, out semVer))
                return StepResult.InvalidResponseSelected();

            config.NextVersion = semVer.ToString("t");
            steps.Enqueue(new EditConfigStep(Console, FileSystem));
            return StepResult.Ok();
        }

        protected override string GetPrompt(Config config, string workingDirectory)
        {
            return @"What would you like to set the next version to (enter nothing to cancel)?";
        }

        protected override string DefaultResult
        {
            get { return null; }
        }
    }
}
{'fraction_non_alphanumeric': 0.0772298767222625, 'fraction_numerical': 0.0, 'mean_word_length': 2.3281061519903496, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5447739', 'n_tokens_mistral': 671, 'n_tokens_neox': 653, 'n_words': 167}