Эх сурвалжийг харах

Merge branch 'add-redis-database' into benchmark-config-warnings

Zane Kansil 10 жил өмнө
parent
commit
26fcbac55c

+ 2 - 2
frameworks/Crystal/moonshine/server.cr

@@ -104,9 +104,9 @@ app.get "/redis/fortunes", do |request|
   }
   data.push(additional_fortune)
 
-  data.sort! { |a, b|
+  data.sort! do |a, b|
     a[:message].to_s <=> b[:message].to_s
-  }
+  end
 
   # New builder for each request!
   html = HTML::Builder.new.build do

+ 1 - 1
toolset/run-ci.py

@@ -34,7 +34,7 @@ class CIRunnner:
   Only verifies the first test in each directory 
   '''
 
-  SUPPORTED_DATABASES = "mysql postgres mongodb cassandra elasticsearch sqlite none".split()
+  SUPPORTED_DATABASES = "mysql postgres mongodb cassandra elasticsearch sqlite redis none".split()
   
   def __init__(self, mode, testdir=None):
     '''