Skip to content

Commit

Permalink
chore: fix-nightly-build-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed May 12, 2024
1 parent ff7d8d4 commit 0286195
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Docfx.Build/PostProcessors/PostProcessorsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class PostProcessorsManager : IDisposable
public PostProcessorsManager(CompositionHost container, ImmutableArray<string> postProcessorNames)
{
ArgumentNullException.ThrowIfNull(container);
ArgumentNullException.ThrowIfNull(postProcessorNames);

_postProcessors = GetPostProcessor(container, postProcessorNames);
}
Expand Down
2 changes: 1 addition & 1 deletion test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void ConvertObjectWithCircularReferenceToDynamic()
Assert.Same(converted.key1, converted);
Assert.Equal("value", converted.key1.key);

Dictionary<string, object> obj = ConvertToObjectHelper.ConvertExpandoObjectToObject(converted);
Dictionary<string, object> obj = (Dictionary<string, object>)ConvertToObjectHelper.ConvertExpandoObjectToObject(converted);
Assert.True(ReferenceEquals(obj["key1"], obj));
Assert.Equal("value", ((Dictionary<string, object>)obj["key1"])["key"]);
}
Expand Down

0 comments on commit 0286195

Please sign in to comment.