Skip to content

Commit 8143841

Browse files
committed
Fix editor tests
1 parent 4821810 commit 8143841

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Editor/ScriptBuilderTest.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace TestEvent.Namespace
2121
menuName = ScriptableEventConstants.MenuNameCustom + ""/TestEventMenuName"",
2222
order = ScriptableEventConstants.MenuOrderCustom + 123
2323
)]
24-
public class TestEventName : ScriptableEvent<TestEventArgName>
24+
internal sealed class TestEventName : ScriptableEvent<TestEventArgName>
2525
{
2626
}
2727
}
@@ -60,7 +60,7 @@ namespace TestListener.Namespace
6060
ScriptableEventConstants.MenuNameCustom + ""/TestListenerMenuName"",
6161
ScriptableEventConstants.MenuOrderCustom + 123
6262
)]
63-
public class TestListenerName : ScriptableEventListener<TestEventArgName>
63+
internal sealed class TestListenerName : ScriptableEventListener<TestEventArgName>
6464
{
6565
}
6666
}
@@ -96,7 +96,7 @@ public void ShouldCreateScriptFromEditorTemplate()
9696
namespace TestEditor.Namespace
9797
{
9898
[CustomEditor(typeof(TestEvent))]
99-
public class TestEditor : ScriptableEventEditor<TestEventArg>
99+
internal sealed class TestEditor : ScriptableEventEditor<TestEventArg>
100100
{
101101
protected override TestEventArg DrawArgField(TestEventArg value)
102102
{

0 commit comments

Comments
 (0)