diff --git a/test/plugin/test_in_syslog.rb b/test/plugin/test_in_syslog.rb
index <HASH>..<HASH> 100755
--- a/test/plugin/test_in_syslog.rb
+++ b/test/plugin/test_in_syslog.rb
@@ -58,7 +58,7 @@ class SyslogInputTest < Test::Unit::TestCase
 
       emits = d.emits
       emits.each_index {|i|
-        assert_equal(tests[i]['expected'], emits[i][1])
+        assert_equal_nano_time(tests[i]['expected'], emits[i][1])
       }
     }
   end
Add test for in_syslog