mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
[Hosts]Ignore default ACME sample entries (#28163)
This commit is contained in:
committed by
GitHub
parent
83f0625427
commit
298a5eba2a
@@ -76,6 +76,8 @@ namespace Hosts.Tests
|
||||
[DataRow("host 10.1.1.1")]
|
||||
[DataRow("# comment 10.1.1.1 host # comment")]
|
||||
[DataRow("10.1.1.1 host01 host02 host03 host04 host05 host06 host07 host08 host09 host10")]
|
||||
[DataRow("102.54.94.97 rhino.acme.com # source server")]
|
||||
[DataRow("38.25.63.10 x.acme.com # x client host")]
|
||||
public void Not_Valid_Entry(string line)
|
||||
{
|
||||
var entry = new Entry(0, line);
|
||||
|
||||
Reference in New Issue
Block a user