diff --git a/intl/uconv/tests/Makefile.in b/intl/uconv/tests/Makefile.in index 8b7425ca473..52b0e69529f 100644 --- a/intl/uconv/tests/Makefile.in +++ b/intl/uconv/tests/Makefile.in @@ -34,7 +34,7 @@ REQUIRES = \ $(NULL) CPPSRCS = \ - nsTestUConv.cpp \ + TestUConv.cpp \ nsconv.cpp \ plattest.cpp \ $(NULL) diff --git a/intl/uconv/tests/TestUConv.cpp b/intl/uconv/tests/TestUConv.cpp index bc3934f8f38..4247990c7c2 100644 --- a/intl/uconv/tests/TestUConv.cpp +++ b/intl/uconv/tests/TestUConv.cpp @@ -257,7 +257,7 @@ nsresult nsTestUConv::TestCharsetManager() mLog.PrintError("get()", res); return res; } - if (!csName.Equals(NS_LossyConvertUCS2toASCII(name).get())) { + if (!csName.Equals(nsDependentString(name))) { mLog.PrintError("Equals()", "unexpected charset name"); return NS_ERROR_UNEXPECTED; } @@ -274,7 +274,7 @@ nsresult nsTestUConv::TestCharsetManager() mLog.PrintError("get()", res); return res; } - if (!csAlias2.EqualsWithConversion(NS_LossyConvertUCS2toASCII(name).get())) { + if (!csAlias2.Equals(nsDependentString(name))) { mLog.PrintError("Equals()", "unexpected charset name"); return NS_ERROR_UNEXPECTED; }