chore: fix warnings.
This commit is contained in:
parent
3c0d8a3809
commit
12d98c46cb
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
using MediaBrowser.Common.Plugins;
|
||||
|
|
|
@ -199,11 +199,11 @@ namespace Tests
|
|||
Expression r;
|
||||
e.environment.Set("o", new Lisp_Object(new O(5, false)));
|
||||
r = e.eval("""(haskeys o "i" "b")""");
|
||||
Assert.Equal(((Lisp_Boolean)r).Value(), true);
|
||||
Assert.True(((Lisp_Boolean)r).Value());
|
||||
r = e.eval("""(getitems o "i" "b")""");
|
||||
Assert.Equal(string.Format("{0}", r), "(5 nil)");
|
||||
Assert.Equal("(5 nil)", string.Format("{0}", r));
|
||||
r = e.eval("""(invoke o "I" nil)""");
|
||||
Assert.Equal(string.Format("{0}", r), "5");
|
||||
Assert.Equal("5", string.Format("{0}", r));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Reference in a new issue