Retrieve LeafOutput operational

This commit is contained in:
2016-02-26 11:54:07 -05:00
parent 76722345a8
commit 59e2f9d8bd
14 changed files with 296 additions and 64 deletions
@@ -38,5 +38,13 @@ namespace LeafWeb.Core.Tests.Utility
var result = str.FilterAlphaNumeric();
Assert.That(result, Is.EqualTo("newline"));
}
[Test]
public void FilenameFromPath()
{
var str = "/full/path/to/file.ext";
var result = str.FilenameFromPath();
Assert.That(result, Is.EqualTo("file.ext"));
}
}
}