mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-20 17:13:31 +00:00
Correctif parsing
This commit is contained in:
parent
3938bb42e4
commit
50cff9b0ec
2 changed files with 17 additions and 6 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using AideDeJeu.ViewModels;
|
||||
using AideDeJeuLib;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace AideDeJeuUnitTest
|
||||
|
|
@ -12,6 +13,13 @@ namespace AideDeJeuUnitTest
|
|||
var store = new StoreViewModel();
|
||||
var item = store.ToItem(null, AideDeJeu.Tools.Helpers.GetResourceString($"AideDeJeu.Data.sandbox.md"));
|
||||
var md = item.Markdown;
|
||||
if(item is Items)
|
||||
{
|
||||
foreach(var iitem in item as Items)
|
||||
{
|
||||
md += iitem.Markdown;
|
||||
}
|
||||
}
|
||||
Assert.IsNotNull(md);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue