Skip to content

Commit 3d39704

Browse files
Hawxyfoxbot
authored andcommitted
test: fix coercion error with DateTime/Offset (#1388)
1 parent fd3810e commit 3d39704

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/Discord.Net.Tests.Unit/EmbedBuilderTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Text;
43
using Xunit;
54

65
namespace Discord
@@ -250,7 +249,7 @@ public void Length()
250249
.WithFooter("This is the footer", url)
251250
.WithImageUrl(url)
252251
.WithThumbnailUrl(url)
253-
.WithTimestamp(DateTime.MinValue)
252+
.WithTimestamp(DateTimeOffset.MinValue)
254253
.WithTitle("This is the title")
255254
.WithUrl(url)
256255
.AddField("Field 1", "Inline", true)

0 commit comments

Comments
 (0)