Skip to content

Commit

Permalink
✨ make http urls look a little more natural too
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffynuts committed Jul 21, 2021
1 parent 86316b9 commit b1b8a99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/TestUtils/PeanutButter.RandomGenerators/RandomValueGen.cs
Expand Up @@ -5,6 +5,7 @@
using System.Linq.Expressions;
using PeanutButter.Utils;
using static PeanutButter.Utils.PyLike;

// ReSharper disable MemberCanBePrivate.Global

// ReSharper disable UnusedMember.Global
Expand Down Expand Up @@ -1219,11 +1220,10 @@ public static string GetRandomWords()
public static string GetRandomHttpUrl()
{
return string.Join(
"/",
"http:",
string.Empty,
GetRandomAlphaNumericString(3, 12) + $".{GetRandomString(2, 3)}",
GetRandomAlphaNumericString(0, 20)).ToLowerInvariant();
"",
"http://",
GetRandomDomain()
);
}

/// <summary>
Expand Down

0 comments on commit b1b8a99

Please sign in to comment.