Skip to content

Commit

Permalink
Address suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
carlossanlop committed Jun 21, 2022
1 parent 5279945 commit aa9c213
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace System.Formats.Tar
{
/// <summary>
/// Represents a Global Extended Attributes tar entry from an archive of the PAX format.
/// Represents a Global Extended Attributes TAR entry from an archive of the PAX format.
/// </summary>
public sealed class PaxGlobalExtendedAttributesTarEntry : PosixTarEntry
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ protected void Read_Archive_Folder_File_Utf8_Internal(TarEntryFormat format, Tes

TarEntry directory = reader.GetNextEntry();

VerifyDirectoryEntry(directory, format, "földër/");
VerifyDirectoryEntry(directory, format, "f\u00f6ld\u00ebr/"); //földër

TarEntry file = reader.GetNextEntry();
VerifyRegularFileEntry(file, format, "földër/áöñ.txt", $"Hello {testCaseName}");
VerifyRegularFileEntry(file, format, "f\u00f6ld\u00ebr/\u00e1\u00f6\u00f1.txt", $"Hello {testCaseName}"); // földër/áöñ.txt

Assert.Null(reader.GetNextEntry());
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Collections.Generic;
using System.IO;
using System.Reflection.PortableExecutable;
using Xunit;

namespace System.Formats.Tar.Tests
Expand Down

0 comments on commit aa9c213

Please sign in to comment.