Skip to content

Commit

Permalink
Update SceneEntryPointLifecycleSequenceRecorder.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mackysoft committed Nov 4, 2023
1 parent e5090e6 commit 24023d7
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace MackySoft.Navigathena.SceneManagement.Tests
{

public interface ISceneEntryPointLifecycleAsserter
{
ISceneEntryPointLifecycleAsserter On (ISceneIdentifier identifier);
Expand All @@ -17,7 +17,7 @@ public sealed class SceneEntryPointLifecycleSequenceRecorder

readonly List<(ISceneIdentifier identifier, SceneEntryPointCallbackFlags flags)> m_Sequence = new();

public ISceneEntryPointLifecycleAsserter Create ()
public ISceneEntryPointLifecycleAsserter CreateSequenceAsserter ()
{
return new SceneEntryPointLifecycleAsserter(this);
}
Expand All @@ -29,6 +29,7 @@ public ISceneEntryPointLifecycleListener With (ISceneIdentifier identifier)

sealed class Listener : ISceneEntryPointLifecycleListener
{

readonly SceneEntryPointLifecycleSequenceRecorder m_Assert;
readonly ISceneIdentifier m_Identifier;

Expand Down Expand Up @@ -95,7 +96,7 @@ public void SequenceEqual ()

string EnumerateActualSequence ()
{
return string.Join("\n",m_Recorder.m_Sequence.Select(x => $"{x.identifier}: {x.flags}"));
return string.Join("\n", m_Recorder.m_Sequence.Select(x => $"{x.identifier}: {x.flags}"));
}
}
}
Expand Down

0 comments on commit 24023d7

Please sign in to comment.