From d9fda61fe1e5a9c576594756016f880a9d52e5c8 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 27 May 2021 08:14:12 +0200 Subject: Pass tests with GDC 10.3 --- tests/tanya/net/tests/iface.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tanya/net/tests/iface.d b/tests/tanya/net/tests/iface.d index c77692a..7726b0e 100644 --- a/tests/tanya/net/tests/iface.d +++ b/tests/tanya/net/tests/iface.d @@ -4,13 +4,14 @@ module tanya.net.tests.iface; import std.algorithm.comparison; +import std.utf; import tanya.net.iface; @nogc nothrow @safe unittest { version (linux) { - assert(equal(indexToName(1)[], "lo")); + assert(equal(indexToName(1)[], "lo".byChar)); } else version (Windows) { -- cgit v1.2.3