Skip to content

Commit

Permalink
Bump YamlDotNet from 8.1.0 to 8.1.1 (#88)
Browse files Browse the repository at this point in the history
* Bump YamlDotNet from 8.1.0 to 8.1.1

Bumps [YamlDotNet](https://github.com/aaubry/YamlDotNet) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/aaubry/YamlDotNet/releases)
- [Changelog](https://github.com/aaubry/YamlDotNet/blob/master/RELEASE_NOTES.md)
- [Commits](aaubry/YamlDotNet@v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix tests now not allow tab in yaml

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Tomas Hellström <tomas.hellstrom@yahoo.se>
  • Loading branch information
dependabot-preview[bot] and helto4real committed Apr 24, 2020
1 parent 21bc75d commit c631775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/DaemonRunner/DaemonRunner/DaemonRunner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<PackageReference Include="JoySoftware.HassClient" Version="0.1.2-alpha" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.5.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.3" />
<PackageReference Include="YamlDotNet" Version="8.1.0" />
<PackageReference Include="YamlDotNet" Version="8.1.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\App\NetDaemon.App\NetDaemon.App.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void InstanceAppFromConfigShouldReturnCorrectType()
// ARRANGE
var yamlConfigMock = new Mock<YamlConfig>(Path.Combine(ConfigFixturePath, "level2", "level3"));
IEnumerable<Type> types = new List<Type>() { typeof(AssmeblyDaemonApp) };
var yamlConfig = "app:\n\tclass: AssmeblyDaemonApp";
var yamlConfig = "app:\n class: AssmeblyDaemonApp";
// ACT
var instances = new YamlAppConfig(types, new StringReader(yamlConfig), yamlConfigMock.Object, "").Instances;
// ASSERT
Expand All @@ -104,7 +104,7 @@ public void InstanceAppFromConfigNotFoundShouldReturnNull()
// ARRANGE
var yamlConfigMock = new Mock<YamlConfig>(Path.Combine(ConfigFixturePath, "level2", "level3"));
IEnumerable<Type> types = new List<Type>() { typeof(AssmeblyDaemonApp) };
var yamlConfig = "app:\n\tclass: NotFoundApp";
var yamlConfig = "app:\n class: NotFoundApp";
// ACT
var instances = new YamlAppConfig(types, new StringReader(yamlConfig), yamlConfigMock.Object, "").Instances;
// ASSERT
Expand Down

0 comments on commit c631775

Please sign in to comment.