Permalink
Browse files

add note about data order

  • Loading branch information...
1 parent 1e58e5e commit ae3ae2f121b4bba3ee2b50f40c0c4a725f715f25 @bluesmoon bluesmoon committed Aug 20, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/uas.js
View
3 tests/uas.js
@@ -1,4 +1,5 @@
-// cat uas.txt | awk 'BEGIN { sub(/ *$/, ""); print "exports=[" } { printf("\t\"%s\",\n", $0) } END { print "]" }' > uas.js
+// Note, this list is neither sorted, nor unique. It was made this way so that more popular useragents have a higher probability
+// of showing up in the test. This is a better simulation of the real world.
exports.uas=[
"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16",
"Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16",

0 comments on commit ae3ae2f

Please sign in to comment.