OSDN Git Service
(root)
/
shogi-server
/
shogi-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
06d7466
)
Fixed timestamp format for Ruby 1.9.3.
author
Daigo Moriwaki
<beatles@users.sourceforge.jp>
Sat, 3 Dec 2011 06:51:57 +0000
(15:51 +0900)
committer
Daigo Moriwaki
<daigo@debian.org>
Sat, 3 Dec 2011 06:51:57 +0000
(15:51 +0900)
test/TC_league.rb
patch
|
blob
|
history
diff --git
a/test/TC_league.rb
b/test/TC_league.rb
index
a50b034
..
b633801
100644
(file)
--- a/
test/TC_league.rb
+++ b/
test/TC_league.rb
@@
-40,7
+40,7
@@
class TestPersistent < Test::Unit::TestCase
assert_equal(p.name, "gps_normal")
assert_in_delta(p.rate, -1752.0, 0.1)
assert_equal(p.name, "gps_normal")
assert_in_delta(p.rate, -1752.0, 0.1)
- assert_equal(p.modified_at.to_s, "
Thu May 08 23:50:54 +0900 2008
")
+ assert_equal(p.modified_at.to_s, "
2008-05-08 23:50:54 +0900
")
assert_equal(p.rating_group, 0)
assert_in_delta(p.win, 3384.04877829976, 0.00001)
assert_in_delta(p.loss, 906.949084230512, 0.00001)
assert_equal(p.rating_group, 0)
assert_in_delta(p.win, 3384.04877829976, 0.00001)
assert_in_delta(p.loss, 906.949084230512, 0.00001)