Skip to content

Commit fbcf8bb

Browse files
committed
Added missing todo marker test
1 parent 3ab2034 commit fbcf8bb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

RubberduckTests/ConfigurationTests.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Microsoft.VisualStudio.TestTools.UnitTesting;
1+
using System.Runtime.InteropServices;
2+
using Microsoft.VisualStudio.TestTools.UnitTesting;
23
using Rubberduck.Settings;
34

45
namespace RubberduckTests
@@ -37,5 +38,14 @@ public void DefaultCodeInspectionsIsNotNull()
3738

3839
Assert.IsNotNull(config);
3940
}
41+
42+
[TestMethod]
43+
public void ToStringIsAsExpected()
44+
{
45+
var expected = "FixMe:";
46+
var marker = new ToDoMarker(expected, TodoPriority.High);
47+
48+
Assert.AreEqual(expected, marker.ToString());
49+
}
4050
}
4151
}

0 commit comments

Comments
 (0)