public void SetStaticGetNow() { Assert.Equal("2015-06-07 08:09:10", TestDynamicResponse.Eval("GetNow().ToString(\"yyyy-MM-dd HH:mm:ss\")", now: new DateTime(2015, 6, 7, 8, 9, 10))); }
public async Task SetStaticGetNow() { Assert.Equal("2015-06-07 08:09:10", await TestDynamicResponse.EvalAsync("GetNow().ToString(\"yyyy-MM-dd HH':'mm':'ss\")", now: new DateTime(2015, 6, 7, 8, 9, 10))); }