Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (14 sloc) 0.509 kb
(ns robot-remote-server.util
(:require [clojure.string :as str]))
(defn handle-return-val
"Convert everything to RobotFramework-acceptable types. See implementations in other languages for examples"
(string? ret) ret
(number? ret) ret
(map? ret) (into {}
(for [[k v] ret]
[(str k) (handle-return-val v)]))
(coll? ret) (map handle-return-val ret)
(nil? ret) ""
:else (str ret)))
Jump to Line
Something went wrong with that request. Please try again.