|
travis_fold:start:worker_info |
|
Worker information |
|
hostname: da6e6b07-109f-460b-a645-6939429f1797@1.production-3-worker-org-gce-hgdf |
|
version: v5.1.0 https://github.com/travis-ci/worker/tree/0bdbc36fc39a4c4c18f44c0a80f1eadac7a66a65 |
|
instance: travis-job-93a26a50-5ddf-4eb1-b90e-ddeaa05a9df1 travis-ci-garnet-trusty-1512502259-986baf0 (via amqp) |
|
startup: 6.74376657s |
|
travis_fold:end:worker_info |
|
travis_fold:start:system_info |
|
Build system information |
|
Build language: node_js |
|
Build group: stable |
|
Build dist: trusty |
|
Build id: 461415014 |
|
Job id: 461415015 |
|
Runtime kernel version: 4.4.0-101-generic |
|
travis-build version: 60dcef048 |
|
Build image provisioning date and time |
|
Tue Dec 5 19:58:13 UTC 2017 |
|
Operating System Details |
|
Distributor ID: Ubuntu |
|
Description: Ubuntu 14.04.5 LTS |
|
Release: 14.04 |
|
Codename: trusty |
|
Cookbooks Version |
|
7c2c6a6 https://github.com/travis-ci/travis-cookbooks/tree/7c2c6a6 |
|
git version |
|
git version 2.15.1 |
|
bash version |
|
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) |
|
gcc version |
|
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 |
|
Copyright (C) 2013 Free Software Foundation, Inc. |
|
This is free software; see the source for copying conditions. There is NO |
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
docker version |
|
Client: |
|
Version: 17.09.0-ce |
|
API version: 1.32 |
|
Go version: go1.8.3 |
|
Git commit: afdb6d4 |
|
Built: Tue Sep 26 22:42:38 2017 |
|
OS/Arch: linux/amd64 |
|
Server: |
|
Version: 17.09.0-ce |
|
API version: 1.32 (minimum version 1.12) |
|
Go version: go1.8.3 |
|
Git commit: afdb6d4 |
|
Built: Tue Sep 26 22:41:20 2017 |
|
OS/Arch: linux/amd64 |
|
Experimental: false |
|
clang version |
|
clang version 5.0.0 (tags/RELEASE_500/final) |
|
Target: x86_64-unknown-linux-gnu |
|
Thread model: posix |
|
InstalledDir: /usr/local/clang-5.0.0/bin |
|
jq version |
|
jq-1.5 |
|
bats version |
|
Bats 0.4.0 |
|
shellcheck version |
|
0.4.6 |
|
shfmt version |
|
v2.0.0 |
|
ccache version |
|
ccache version 3.1.9 |
|
Copyright (C) 2002-2007 Andrew Tridgell |
|
Copyright (C) 2009-2011 Joel Rosdahl |
|
This program is free software; you can redistribute it and/or modify it under |
|
the terms of the GNU General Public License as published by the Free Software |
|
Foundation; either version 3 of the License, or (at your option) any later |
|
version. |
|
cmake version |
|
cmake version 3.9.2 |
|
CMake suite maintained and supported by Kitware (kitware.com/cmake). |
|
heroku version |
|
heroku-cli/6.14.39-addc925 (linux-x64) node-v9.2.0 |
|
imagemagick version |
|
Version: ImageMagick 6.7.7-10 2017-07-31 Q16 http://www.imagemagick.org |
|
md5deep version |
|
4.2 |
|
mercurial version |
|
Mercurial Distributed SCM (version 4.2.2) |
|
(see https://mercurial-scm.org for more information) |
|
Copyright (C) 2005-2017 Matt Mackall and others |
|
This is free software; see the source for copying conditions. There is NO |
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
mysql version |
|
mysql Ver 14.14 Distrib 5.6.33, for debian-linux-gnu (x86_64) using EditLine wrapper |
|
openssl version |
|
OpenSSL 1.0.1f 6 Jan 2014 |
|
packer version |
|
Packer v1.0.2 |
|
Your version of Packer is out of date! The latest version |
|
is 1.1.2. You can update by downloading from www.packer.io |
|
postgresql client version |
|
psql (PostgreSQL) 9.6.6 |
|
ragel version |
|
Ragel State Machine Compiler version 6.8 Feb 2013 |
|
Copyright (c) 2001-2009 by Adrian Thurston |
|
subversion version |
|
svn, version 1.8.8 (r1568071) |
|
compiled Aug 10 2017, 17:20:39 on x86_64-pc-linux-gnu |
|
Copyright (C) 2013 The Apache Software Foundation. |
|
This software consists of contributions made by many people; |
|
see the NOTICE file for more information. |
|
Subversion is open source software, see http://subversion.apache.org/ |
|
The following repository access (RA) modules are available: |
|
* ra_svn : Module for accessing a repository using the svn network protocol. |
|
- with Cyrus SASL authentication |
|
- handles 'svn' scheme |
|
* ra_local : Module for accessing a repository on local disk. |
|
- handles 'file' scheme |
|
* ra_serf : Module for accessing a repository via WebDAV protocol using serf. |
|
- using serf 1.3.3 |
|
- handles 'http' scheme |
|
- handles 'https' scheme |
|
sudo version |
|
Sudo version 1.8.9p5 |
|
Configure options: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-logfac=authpriv --with-env-editor --with-editor=/usr/bin/editor --with-timeout=15 --with-password-timeout=0 --with-passprompt=[sudo] password for %p: --without-lecture --with-tty-tickets --disable-root-mailer --enable-admin-flag --with-sendmail=/usr/sbin/sendmail --with-timedir=/var/lib/sudo --mandir=/usr/share/man --libexecdir=/usr/lib/sudo --with-sssd --with-sssd-lib=/usr/lib/x86_64-linux-gnu --with-selinux |
|
Sudoers policy plugin version 1.8.9p5 |
|
Sudoers file grammar version 43 |
|
Sudoers path: /etc/sudoers |
|
Authentication methods: 'pam' |
|
Syslog facility if syslog is being used for logging: authpriv |
|
Syslog priority to use when user authenticates successfully: notice |
|
Syslog priority to use when user authenticates unsuccessfully: alert |
|
Send mail if the user is not in sudoers |
|
Use a separate timestamp for each user/tty combo |
|
Lecture user the first time they run sudo |
|
Root may run sudo |
|
Allow some information gathering to give useful error messages |
|
Require fully-qualified hostnames in the sudoers file |
|
Visudo will honor the EDITOR environment variable |
|
Set the LOGNAME and USER environment variables |
|
Length at which to wrap log file lines (0 for no wrap): 80 |
|
Authentication timestamp timeout: 15.0 minutes |
|
Password prompt timeout: 0.0 minutes |
|
Number of tries to enter a password: 3 |
|
Umask to use or 0777 to use user's: 022 |
|
Path to mail program: /usr/sbin/sendmail |
|
Flags for mail program: -t |
|
Address to send mail to: root |
|
Subject line for mail messages: *** SECURITY information for %h *** |
|
Incorrect password message: Sorry, try again. |
|
Path to authentication timestamp dir: /var/lib/sudo |
|
Default password prompt: [sudo] password for %p: |
|
Default user to run commands as: root |
|
Value to override user's $PATH with: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin |
|
Path to the editor for use by visudo: /usr/bin/editor |
|
When to require a password for 'list' pseudocommand: any |
|
When to require a password for 'verify' pseudocommand: all |
|
File descriptors >= 3 will be closed before executing a command |
|
Environment variables to check for sanity: |
|
TZ |
|
TERM |
|
LINGUAS |
|
LC_* |
|
LANGUAGE |
|
LANG |
|
COLORTERM |
|
Environment variables to remove: |
|
RUBYOPT |
|
RUBYLIB |
|
PYTHONUSERBASE |
|
PYTHONINSPECT |
|
PYTHONPATH |
|
PYTHONHOME |
|
TMPPREFIX |
|
ZDOTDIR |
|
READNULLCMD |
|
NULLCMD |
|
FPATH |
|
PERL5DB |
|
PERL5OPT |
|
PERL5LIB |
|
PERLLIB |
|
PERLIO_DEBUG |
|
JAVA_TOOL_OPTIONS |
|
SHELLOPTS |
|
GLOBIGNORE |
|
PS4 |
|
BASH_ENV |
|
ENV |
|
TERMCAP |
|
TERMPATH |
|
TERMINFO_DIRS |
|
TERMINFO |
|
_RLD* |
|
LD_* |
|
PATH_LOCALE |
|
NLSPATH |
|
HOSTALIASES |
|
RES_OPTIONS |
|
LOCALDOMAIN |
|
CDPATH |
|
IFS |
|
Environment variables to preserve: |
|
JAVA_HOME |
|
TRAVIS |
|
CI |
|
DEBIAN_FRONTEND |
|
XAUTHORIZATION |
|
XAUTHORITY |
|
PS2 |
|
PS1 |
|
PATH |
|
LS_COLORS |
|
KRB5CCNAME |
|
HOSTNAME |
|
HOME |
|
DISPLAY |
|
COLORS |
|
Locale to use while parsing sudoers: C |
|
Directory in which to store input/output logs: /var/log/sudo-io |
|
File in which to store the input/output log: %{seq} |
|
Add an entry to the utmp/utmpx file when allocating a pty |
|
PAM service name to use |
|
PAM service name to use for login shells |
|
Create a new PAM session for the command to run in |
|
Maximum I/O log sequence number: 0 |
|
Local IP address and netmask pairs: |
|
10.240.0.28/255.255.255.255 |
|
172.17.0.1/255.255.0.0 |
|
Sudoers I/O plugin version 1.8.9p5 |
|
gzip version |
|
gzip 1.6 |
|
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. |
|
Copyright (C) 1993 Jean-loup Gailly. |
|
This is free software. You may redistribute copies of it under the terms of |
|
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. |
|
There is NO WARRANTY, to the extent permitted by law. |
|
Written by Jean-loup Gailly. |
|
zip version |
|
Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license. |
|
This is Zip 3.0 (July 5th 2008), by Info-ZIP. |
|
Currently maintained by E. Gordon. Please send bug reports to |
|
the authors using the web page at www.info-zip.org; see README for details. |
|
Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip, |
|
as of above date; see http://www.info-zip.org/ for other sites. |
|
Compiled with gcc 4.8.2 for Unix (Linux ELF) on Oct 21 2013. |
|
Zip special compilation options: |
|
USE_EF_UT_TIME (store Universal Time) |
|
BZIP2_SUPPORT (bzip2 library version 1.0.6, 6-Sept-2010) |
|
bzip2 code and library copyright (c) Julian R Seward |
|
(See the bzip2 license for terms of use) |
|
SYMLINK_SUPPORT (symbolic links supported) |
|
LARGE_FILE_SUPPORT (can read and write large files on file system) |
|
ZIP64_SUPPORT (use Zip64 to store large files in archives) |
|
UNICODE_SUPPORT (store and read UTF-8 Unicode paths) |
|
STORE_UNIX_UIDs_GIDs (store UID/GID sizes/values using new extra field) |
|
UIDGID_NOT_16BIT (old Unix 16-bit UID/GID extra field not used) |
|
[encryption, version 2.91 of 05 Jan 2007] (modified for Zip 3) |
|
Encryption notice: |
|
The encryption code of this program is not copyrighted and is |
|
put in the public domain. It was originally written in Europe |
|
and, to the best of our knowledge, can be freely distributed |
|
in both source and object forms from any country, including |
|
the USA under License Exception TSU of the U.S. Export |
|
Administration Regulations (section 740.13(e)) of 6 June 2002. |
|
Zip environment options: |
|
ZIP: [none] |
|
ZIPOPT: [none] |
|
vim version |
|
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:43:18) |
|
Included patches: 1-52 |
|
Extra patches: 8.0.0056 |
|
Modified by [email protected] |
|
Compiled by buildd@ |
|
Huge version without GUI. Features included (+) or not (-): |
|
+acl +farsi +mouse_netterm +syntax |
|
+arabic +file_in_path +mouse_sgr +tag_binary |
|
+autocmd +find_in_path -mouse_sysmouse +tag_old_static |
|
-balloon_eval +float +mouse_urxvt -tag_any_white |
|
-browse +folding +mouse_xterm -tcl |
|
++builtin_terms -footer +multi_byte +terminfo |
|
+byte_offset +fork() +multi_lang +termresponse |
|
+cindent +gettext -mzscheme +textobjects |
|
-clientserver -hangul_input +netbeans_intg +title |
|
-clipboard +iconv +path_extra -toolbar |
|
+cmdline_compl +insert_expand -perl +user_commands |
|
+cmdline_hist +jumplist +persistent_undo +vertsplit |
|
+cmdline_info +keymap +postscript +virtualedit |
|
+comments +langmap +printer +visual |
|
+conceal +libcall +profile +visualextra |
|
+cryptv +linebreak +python +viminfo |
|
+cscope +lispindent -python3 +vreplace |
|
+cursorbind +listcmds +quickfix +wildignore |
|
+cursorshape +localmap +reltime +wildmenu |
|
+dialog_con -lua +rightleft +windows |
|
+diff +menu -ruby +writebackup |
|
+digraphs +mksession +scrollbind -X11 |
|
-dnd +modify_fname +signs -xfontset |
|
-ebcdic +mouse +smartindent -xim |
|
+emacs_tags -mouseshape -sniff -xsmp |
|
+eval +mouse_dec +startuptime -xterm_clipboard |
|
+ex_extra +mouse_gpm +statusline -xterm_save |
|
+extra_search -mouse_jsbterm -sun_workshop -xpm |
|
system vimrc file: "$VIM/vimrc" |
|
user vimrc file: "$HOME/.vimrc" |
|
2nd user vimrc file: "~/.vim/vimrc" |
|
user exrc file: "$HOME/.exrc" |
|
fall-back for $VIM: "/usr/share/vim" |
|
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 |
|
Linking: gcc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim -lm -ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions |
|
iptables version |
|
iptables v1.4.21 |
|
curl version |
|
curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3 |
|
wget version |
|
GNU Wget 1.15 built on linux-gnu. |
|
rsync version |
|
rsync version 3.1.0 protocol version 31 |
|
gimme version |
|
v1.2.0 |
|
nvm version |
|
0.33.6 |
|
perlbrew version |
|
/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.80 |
|
phpenv version |
|
rbenv 1.1.1-25-g6aa70b6 |
|
rvm version |
|
rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io] |
|
default ruby version |
|
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux] |
|
CouchDB version |
|
couchdb 1.6.1 |
|
ElasticSearch version |
|
5.5.0 |
|
Installed Firefox version |
|
firefox 56.0.2 |
|
MongoDB version |
|
MongoDB 3.4.10 |
|
PhantomJS version |
|
2.1.1 |
|
Pre-installed PostgreSQL versions |
|
9.2.24 |
|
9.3.20 |
|
9.4.15 |
|
9.5.10 |
|
9.6.6 |
|
RabbitMQ Version |
|
3.6.14 |
|
Redis version |
|
redis-server 4.0.6 |
|
riak version |
|
2.2.3 |
|
Pre-installed Go versions |
|
1.7.4 |
|
ant version |
|
Apache Ant(TM) version 1.9.3 compiled on April 8 2014 |
|
mvn version |
|
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) |
|
Maven home: /usr/local/maven-3.5.2 |
|
Java version: 1.8.0_151, vendor: Oracle Corporation |
|
Java home: /usr/lib/jvm/java-8-oracle/jre |
|
Default locale: en_US, platform encoding: UTF-8 |
|
OS name: "linux", version: "4.4.0-98-generic", arch: "amd64", family: "unix" |
|
gradle version |
|
------------------------------------------------------------ |
|
Gradle 4.0.1 |
|
------------------------------------------------------------ |
|
Build time: 2017-07-07 14:02:41 UTC |
|
Revision: 38e5dc0f772daecca1d2681885d3d85414eb6826 |
|
Groovy: 2.4.11 |
|
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 |
|
JVM: 1.8.0_151 (Oracle Corporation 25.151-b12) |
|
OS: Linux 4.4.0-98-generic amd64 |
|
lein version |
|
Leiningen 2.8.1 on Java 1.8.0_151 Java HotSpot(TM) 64-Bit Server VM |
|
Pre-installed Node.js versions |
|
v4.8.6 |
|
v6.12.0 |
|
v6.12.1 |
|
v8.9 |
|
v8.9.1 |
|
phpenv versions |
|
system |
|
5.6 |
|
* 5.6.32 (set by /home/travis/.phpenv/version) |
|
7.0 |
|
7.0.25 |
|
7.1 |
|
7.1.11 |
|
hhvm |
|
hhvm-stable |
|
composer --version |
|
Composer version 1.5.2 2017-09-11 16:59:25 |
|
Pre-installed Ruby versions |
|
ruby-2.2.7 |
|
ruby-2.3.4 |
|
ruby-2.4.1 |
|
travis_fold:end:system_info |
|
travis_fold:start:git.checkout |
|
travis_time:start:0053bb42 |
|
$ git clone --depth=50 https://github.com/jashkenas/coffeescript.git jashkenas/coffeescript |
|
Cloning into 'jashkenas/coffeescript'... |
|
remote: Enumerating objects: 1069, done. |
|
remote: Counting objects: 0% (1/1069) |
|
remote: Counting objects: 1% (11/1069) |
|
remote: Counting objects: 2% (22/1069) |
|
remote: Counting objects: 3% (33/1069) |
|
remote: Counting objects: 4% (43/1069) |
|
remote: Counting objects: 5% (54/1069) |
|
remote: Counting objects: 6% (65/1069) |
|
remote: Counting objects: 7% (75/1069) |
|
remote: Counting objects: 8% (86/1069) |
|
remote: Counting objects: 9% (97/1069) |
|
remote: Counting objects: 10% (107/1069) |
|
remote: Counting objects: 11% (118/1069) |
|
remote: Counting objects: 12% (129/1069) |
|
remote: Counting objects: 13% (139/1069) |
|
remote: Counting objects: 14% (150/1069) |
|
remote: Counting objects: 15% (161/1069) |
|
remote: Counting objects: 16% (172/1069) |
|
remote: Counting objects: 17% (182/1069) |
|
remote: Counting objects: 18% (193/1069) |
|
remote: Counting objects: 19% (204/1069) |
|
remote: Counting objects: 20% (214/1069) |
|
remote: Counting objects: 21% (225/1069) |
|
remote: Counting objects: 22% (236/1069) |
|
remote: Counting objects: 23% (246/1069) |
|
remote: Counting objects: 24% (257/1069) |
|
remote: Counting objects: 25% (268/1069) |
|
remote: Counting objects: 26% (278/1069) |
|
remote: Counting objects: 27% (289/1069) |
|
remote: Counting objects: 28% (300/1069) |
|
remote: Counting objects: 29% (311/1069) |
|
remote: Counting objects: 30% (321/1069) |
|
remote: Counting objects: 31% (332/1069) |
|
remote: Counting objects: 32% (343/1069) |
|
remote: Counting objects: 33% (353/1069) |
|
remote: Counting objects: 34% (364/1069) |
|
remote: Counting objects: 35% (375/1069) |
|
remote: Counting objects: 36% (385/1069) |
|
remote: Counting objects: 37% (396/1069) |
|
remote: Counting objects: 38% (407/1069) |
|
remote: Counting objects: 39% (417/1069) |
|
remote: Counting objects: 40% (428/1069) |
|
remote: Counting objects: 41% (439/1069) |
|
remote: Counting objects: 42% (449/1069) |
|
remote: Counting objects: 43% (460/1069) |
|
remote: Counting objects: 44% (471/1069) |
|
remote: Counting objects: 45% (482/1069) |
|
remote: Counting objects: 46% (492/1069) |
|
remote: Counting objects: 47% (503/1069) |
|
remote: Counting objects: 48% (514/1069) |
|
remote: Counting objects: 49% (524/1069) |
|
remote: Counting objects: 50% (535/1069) |
|
remote: Counting objects: 51% (546/1069) |
|
remote: Counting objects: 52% (556/1069) |
|
remote: Counting objects: 53% (567/1069) |
|
remote: Counting objects: 54% (578/1069) |
|
remote: Counting objects: 55% (588/1069) |
|
remote: Counting objects: 56% (599/1069) |
|
remote: Counting objects: 57% (610/1069) |
|
remote: Counting objects: 58% (621/1069) |
|
remote: Counting objects: 59% (631/1069) |
|
remote: Counting objects: 60% (642/1069) |
|
remote: Counting objects: 61% (653/1069) |
|
remote: Counting objects: 62% (663/1069) |
|
remote: Counting objects: 63% (674/1069) |
|
remote: Counting objects: 64% (685/1069) |
|
remote: Counting objects: 65% (695/1069) |
|
remote: Counting objects: 66% (706/1069) |
|
remote: Counting objects: 67% (717/1069) |
|
remote: Counting objects: 68% (727/1069) |
|
remote: Counting objects: 69% (738/1069) |
|
remote: Counting objects: 70% (749/1069) |
|
remote: Counting objects: 71% (759/1069) |
|
remote: Counting objects: 72% (770/1069) |
|
remote: Counting objects: 73% (781/1069) |
|
remote: Counting objects: 74% (792/1069) |
|
remote: Counting objects: 75% (802/1069) |
|
remote: Counting objects: 76% (813/1069) |
|
remote: Counting objects: 77% (824/1069) |
|
remote: Counting objects: 78% (834/1069) |
|
remote: Counting objects: 79% (845/1069) |
|
remote: Counting objects: 80% (856/1069) |
|
remote: Counting objects: 81% (866/1069) |
|
remote: Counting objects: 82% (877/1069) |
|
remote: Counting objects: 83% (888/1069) |
|
remote: Counting objects: 84% (898/1069) |
|
remote: Counting objects: 85% (909/1069) |
|
remote: Counting objects: 86% (920/1069) |
|
remote: Counting objects: 87% (931/1069) |
|
remote: Counting objects: 88% (941/1069) |
|
remote: Counting objects: 89% (952/1069) |
|
remote: Counting objects: 90% (963/1069) |
|
remote: Counting objects: 91% (973/1069) |
|
remote: Counting objects: 92% (984/1069) |
|
remote: Counting objects: 93% (995/1069) |
|
remote: Counting objects: 94% (1005/1069) |
|
remote: Counting objects: 95% (1016/1069) |
|
remote: Counting objects: 96% (1027/1069) |
|
remote: Counting objects: 97% (1037/1069) |
|
remote: Counting objects: 98% (1048/1069) |
|
remote: Counting objects: 99% (1059/1069) |
|
remote: Counting objects: 100% (1069/1069) |
|
remote: Counting objects: 100% (1069/1069), done. |
|
remote: Compressing objects: 0% (1/679) |
|
remote: Compressing objects: 1% (7/679) |
|
remote: Compressing objects: 2% (14/679) |
|
remote: Compressing objects: 3% (21/679) |
|
remote: Compressing objects: 4% (28/679) |
|
remote: Compressing objects: 5% (34/679) |
|
remote: Compressing objects: 6% (41/679) |
|
remote: Compressing objects: 7% (48/679) |
|
remote: Compressing objects: 8% (55/679) |
|
remote: Compressing objects: 9% (62/679) |
|
remote: Compressing objects: 10% (68/679) |
|
remote: Compressing objects: 11% (75/679) |
|
remote: Compressing objects: 12% (82/679) |
|
remote: Compressing objects: 13% (89/679) |
|
remote: Compressing objects: 14% (96/679) |
|
remote: Compressing objects: 15% (102/679) |
|
remote: Compressing objects: 16% (109/679) |
|
remote: Compressing objects: 17% (116/679) |
|
remote: Compressing objects: 18% (123/679) |
|
remote: Compressing objects: 19% (130/679) |
|
remote: Compressing objects: 20% (136/679) |
|
remote: Compressing objects: 21% (143/679) |
|
remote: Compressing objects: 22% (150/679) |
|
remote: Compressing objects: 23% (157/679) |
|
remote: Compressing objects: 24% (163/679) |
|
remote: Compressing objects: 25% (170/679) |
|
remote: Compressing objects: 26% (177/679) |
|
remote: Compressing objects: 27% (184/679) |
|
remote: Compressing objects: 28% (191/679) |
|
remote: Compressing objects: 29% (197/679) |
|
remote: Compressing objects: 30% (204/679) |
|
remote: Compressing objects: 31% (211/679) |
|
remote: Compressing objects: 32% (218/679) |
|
remote: Compressing objects: 33% (225/679) |
|
remote: Compressing objects: 34% (231/679) |
|
remote: Compressing objects: 35% (238/679) |
|
remote: Compressing objects: 36% (245/679) |
|
remote: Compressing objects: 37% (252/679) |
|
remote: Compressing objects: 38% (259/679) |
|
remote: Compressing objects: 39% (265/679) |
|
remote: Compressing objects: 40% (272/679) |
|
remote: Compressing objects: 41% (279/679) |
|
remote: Compressing objects: 42% (286/679) |
|
remote: Compressing objects: 43% (292/679) |
|
remote: Compressing objects: 44% (299/679) |
|
remote: Compressing objects: 45% (306/679) |
|
remote: Compressing objects: 46% (313/679) |
|
remote: Compressing objects: 47% (320/679) |
|
remote: Compressing objects: 48% (326/679) |
|
remote: Compressing objects: 49% (333/679) |
|
remote: Compressing objects: 50% (340/679) |
|
remote: Compressing objects: 51% (347/679) |
|
remote: Compressing objects: 52% (354/679) |
|
remote: Compressing objects: 53% (360/679) |
|
remote: Compressing objects: 54% (367/679) |
|
remote: Compressing objects: 55% (374/679) |
|
remote: Compressing objects: 56% (381/679) |
|
remote: Compressing objects: 57% (388/679) |
|
remote: Compressing objects: 58% (394/679) |
|
remote: Compressing objects: 59% (401/679) |
|
remote: Compressing objects: 60% (408/679) |
|
remote: Compressing objects: 61% (415/679) |
|
remote: Compressing objects: 62% (421/679) |
|
remote: Compressing objects: 63% (428/679) |
|
remote: Compressing objects: 64% (435/679) |
|
remote: Compressing objects: 65% (442/679) |
|
remote: Compressing objects: 66% (449/679) |
|
remote: Compressing objects: 67% (455/679) |
|
remote: Compressing objects: 68% (462/679) |
|
remote: Compressing objects: 69% (469/679) |
|
remote: Compressing objects: 70% (476/679) |
|
remote: Compressing objects: 71% (483/679) |
|
remote: Compressing objects: 72% (489/679) |
|
remote: Compressing objects: 73% (496/679) |
|
remote: Compressing objects: 74% (503/679) |
|
remote: Compressing objects: 75% (510/679) |
|
remote: Compressing objects: 76% (517/679) |
|
remote: Compressing objects: 77% (523/679) |
|
remote: Compressing objects: 78% (530/679) |
|
remote: Compressing objects: 79% (537/679) |
|
remote: Compressing objects: 80% (544/679) |
|
remote: Compressing objects: 81% (550/679) |
|
remote: Compressing objects: 82% (557/679) |
|
remote: Compressing objects: 83% (564/679) |
|
remote: Compressing objects: 84% (571/679) |
|
remote: Compressing objects: 85% (578/679) |
|
remote: Compressing objects: 86% (584/679) |
|
remote: Compressing objects: 87% (591/679) |
|
remote: Compressing objects: 88% (598/679) |
|
remote: Compressing objects: 89% (605/679) |
|
remote: Compressing objects: 90% (612/679) |
|
remote: Compressing objects: 91% (618/679) |
|
remote: Compressing objects: 92% (625/679) |
|
remote: Compressing objects: 93% (632/679) |
|
remote: Compressing objects: 94% (639/679) |
|
remote: Compressing objects: 95% (646/679) |
|
remote: Compressing objects: 96% (652/679) |
|
remote: Compressing objects: 97% (659/679) |
|
remote: Compressing objects: 98% (666/679) |
|
remote: Compressing objects: 99% (673/679) |
|
remote: Compressing objects: 100% (679/679) |
|
remote: Compressing objects: 100% (679/679), done. |
|
Receiving objects: 0% (1/1069) |
|
Receiving objects: 1% (11/1069) |
|
Receiving objects: 2% (22/1069) |
|
Receiving objects: 3% (33/1069) |
|
Receiving objects: 4% (43/1069) |
|
Receiving objects: 5% (54/1069) |
|
Receiving objects: 6% (65/1069) |
|
Receiving objects: 7% (75/1069) |
|
Receiving objects: 8% (86/1069) |
|
Receiving objects: 9% (97/1069) |
|
Receiving objects: 10% (107/1069) |
|
Receiving objects: 11% (118/1069) |
|
Receiving objects: 12% (129/1069) |
|
Receiving objects: 13% (139/1069) |
|
Receiving objects: 14% (150/1069) |
|
Receiving objects: 15% (161/1069) |
|
Receiving objects: 16% (172/1069) |
|
Receiving objects: 17% (182/1069) |
|
Receiving objects: 18% (193/1069) |
|
Receiving objects: 19% (204/1069) |
|
Receiving objects: 20% (214/1069) |
|
Receiving objects: 21% (225/1069) |
|
Receiving objects: 22% (236/1069) |
|
Receiving objects: 23% (246/1069) |
|
Receiving objects: 24% (257/1069) |
|
Receiving objects: 25% (268/1069) |
|
Receiving objects: 26% (278/1069) |
|
Receiving objects: 27% (289/1069) |
|
Receiving objects: 28% (300/1069) |
|
Receiving objects: 29% (311/1069) |
|
Receiving objects: 30% (321/1069) |
|
Receiving objects: 31% (332/1069) |
|
Receiving objects: 32% (343/1069) |
|
Receiving objects: 33% (353/1069) |
|
Receiving objects: 34% (364/1069) |
|
Receiving objects: 35% (375/1069) |
|
Receiving objects: 36% (385/1069) |
|
Receiving objects: 37% (396/1069) |
|
Receiving objects: 38% (407/1069) |
|
Receiving objects: 39% (417/1069) |
|
Receiving objects: 40% (428/1069) |
|
Receiving objects: 41% (439/1069) |
|
Receiving objects: 42% (449/1069) |
|
Receiving objects: 43% (460/1069) |
|
Receiving objects: 44% (471/1069) |
|
Receiving objects: 45% (482/1069) |
|
Receiving objects: 46% (492/1069) |
|
Receiving objects: 47% (503/1069) |
|
Receiving objects: 48% (514/1069) |
|
Receiving objects: 49% (524/1069) |
|
Receiving objects: 50% (535/1069) |
|
Receiving objects: 51% (546/1069) |
|
Receiving objects: 52% (556/1069) |
|
Receiving objects: 53% (567/1069) |
|
Receiving objects: 54% (578/1069) |
|
Receiving objects: 55% (588/1069) |
|
Receiving objects: 56% (599/1069) |
|
Receiving objects: 57% (610/1069) |
|
Receiving objects: 58% (621/1069) |
|
Receiving objects: 59% (631/1069) |
|
Receiving objects: 60% (642/1069) |
|
Receiving objects: 61% (653/1069) |
|
Receiving objects: 62% (663/1069) |
|
Receiving objects: 63% (674/1069) |
|
Receiving objects: 64% (685/1069) |
|
Receiving objects: 65% (695/1069) |
|
Receiving objects: 66% (706/1069) |
|
Receiving objects: 67% (717/1069) |
|
Receiving objects: 68% (727/1069) |
|
Receiving objects: 69% (738/1069) |
|
Receiving objects: 70% (749/1069) |
|
Receiving objects: 71% (759/1069) |
|
Receiving objects: 72% (770/1069) |
|
Receiving objects: 73% (781/1069) |
|
Receiving objects: 74% (792/1069) |
|
Receiving objects: 75% (802/1069) |
|
Receiving objects: 76% (813/1069) |
|
Receiving objects: 77% (824/1069) |
|
Receiving objects: 78% (834/1069) |
|
Receiving objects: 79% (845/1069) |
|
Receiving objects: 80% (856/1069) |
|
Receiving objects: 81% (866/1069) |
|
Receiving objects: 82% (877/1069) |
|
Receiving objects: 83% (888/1069) |
|
Receiving objects: 84% (898/1069) |
|
Receiving objects: 85% (909/1069) |
|
Receiving objects: 86% (920/1069) |
|
Receiving objects: 87% (931/1069) |
|
Receiving objects: 88% (941/1069) |
|
Receiving objects: 89% (952/1069) |
|
Receiving objects: 90% (963/1069) |
|
Receiving objects: 91% (973/1069) |
|
Receiving objects: 92% (984/1069) |
|
Receiving objects: 93% (995/1069) |
|
Receiving objects: 94% (1005/1069) |
|
Receiving objects: 95% (1016/1069) |
|
Receiving objects: 96% (1027/1069) |
|
Receiving objects: 97% (1037/1069) |
|
Receiving objects: 98% (1048/1069) |
|
Receiving objects: 99% (1059/1069) |
|
remote: Total 1069 (delta 520), reused 694 (delta 322), pack-reused 0 |
|
Receiving objects: 100% (1069/1069) |
|
Receiving objects: 100% (1069/1069), 1.92 MiB | 8.96 MiB/s, done. |
|
Resolving deltas: 0% (0/520) |
|
Resolving deltas: 2% (15/520) |
|
Resolving deltas: 7% (40/520) |
|
Resolving deltas: 8% (43/520) |
|
Resolving deltas: 9% (47/520) |
|
Resolving deltas: 11% (58/520) |
|
Resolving deltas: 16% (84/520) |
|
Resolving deltas: 17% (92/520) |
|
Resolving deltas: 19% (100/520) |
|
Resolving deltas: 20% (104/520) |
|
Resolving deltas: 21% (111/520) |
|
Resolving deltas: 22% (118/520) |
|
Resolving deltas: 25% (131/520) |
|
Resolving deltas: 26% (139/520) |
|
Resolving deltas: 27% (141/520) |
|
Resolving deltas: 28% (149/520) |
|
Resolving deltas: 29% (153/520) |
|
Resolving deltas: 30% (156/520) |
|
Resolving deltas: 31% (163/520) |
|
Resolving deltas: 32% (171/520) |
|
Resolving deltas: 33% (173/520) |
|
Resolving deltas: 34% (177/520) |
|
Resolving deltas: 35% (187/520) |
|
Resolving deltas: 41% (218/520) |
|
Resolving deltas: 42% (220/520) |
|
Resolving deltas: 44% (231/520) |
|
Resolving deltas: 48% (250/520) |
|
Resolving deltas: 49% (255/520) |
|
Resolving deltas: 50% (260/520) |
|
Resolving deltas: 51% (266/520) |
|
Resolving deltas: 52% (272/520) |
|
Resolving deltas: 53% (276/520) |
|
Resolving deltas: 54% (281/520) |
|
Resolving deltas: 55% (291/520) |
|
Resolving deltas: 57% (299/520) |
|
Resolving deltas: 60% (314/520) |
|
Resolving deltas: 62% (325/520) |
|
Resolving deltas: 64% (336/520) |
|
Resolving deltas: 66% (348/520) |
|
Resolving deltas: 69% (359/520) |
|
Resolving deltas: 70% (366/520) |
|
Resolving deltas: 72% (378/520) |
|
Resolving deltas: 74% (385/520) |
|
Resolving deltas: 75% (393/520) |
|
Resolving deltas: 77% (403/520) |
|
Resolving deltas: 78% (410/520) |
|
Resolving deltas: 80% (417/520) |
|
Resolving deltas: 81% (422/520) |
|
Resolving deltas: 83% (432/520) |
|
Resolving deltas: 84% (438/520) |
|
Resolving deltas: 85% (444/520) |
|
Resolving deltas: 87% (456/520) |
|
Resolving deltas: 89% (463/520) |
|
Resolving deltas: 90% (468/520) |
|
Resolving deltas: 91% (476/520) |
|
Resolving deltas: 92% (480/520) |
|
Resolving deltas: 93% (484/520) |
|
Resolving deltas: 94% (492/520) |
|
Resolving deltas: 95% (495/520) |
|
Resolving deltas: 96% (500/520) |
|
Resolving deltas: 97% (505/520) |
|
Resolving deltas: 98% (510/520) |
|
Resolving deltas: 99% (515/520) |
|
Resolving deltas: 100% (520/520) |
|
Resolving deltas: 100% (520/520), done. |
|
travis_time:end:0053bb42:start=1543516197782639291,finish=1543516199332553186,duration=1549913895 |
|
$ cd jashkenas/coffeescript |
|
travis_time:start:128d4a7c |
|
$ git fetch origin +refs/pull/5138/merge: |
|
remote: Enumerating objects: 908, done. |
|
remote: Counting objects: 0% (1/723) |
|
remote: Counting objects: 1% (8/723) |
|
remote: Counting objects: 2% (15/723) |
|
remote: Counting objects: 3% (22/723) |
|
remote: Counting objects: 4% (29/723) |
|
remote: Counting objects: 5% (37/723) |
|
remote: Counting objects: 6% (44/723) |
|
remote: Counting objects: 7% (51/723) |
|
remote: Counting objects: 8% (58/723) |
|
remote: Counting objects: 9% (66/723) |
|
remote: Counting objects: 10% (73/723) |
|
remote: Counting objects: 11% (80/723) |
|
remote: Counting objects: 12% (87/723) |
|
remote: Counting objects: 13% (94/723) |
|
remote: Counting objects: 14% (102/723) |
|
remote: Counting objects: 15% (109/723) |
|
remote: Counting objects: 16% (116/723) |
|
remote: Counting objects: 17% (123/723) |
|
remote: Counting objects: 18% (131/723) |
|
remote: Counting objects: 19% (138/723) |
|
remote: Counting objects: 20% (145/723) |
|
remote: Counting objects: 21% (152/723) |
|
remote: Counting objects: 22% (160/723) |
|
remote: Counting objects: 23% (167/723) |
|
remote: Counting objects: 24% (174/723) |
|
remote: Counting objects: 25% (181/723) |
|
remote: Counting objects: 26% (188/723) |
|
remote: Counting objects: 27% (196/723) |
|
remote: Counting objects: 28% (203/723) |
|
remote: Counting objects: 29% (210/723) |
|
remote: Counting objects: 30% (217/723) |
|
remote: Counting objects: 31% (225/723) |
|
remote: Counting objects: 32% (232/723) |
|
remote: Counting objects: 33% (239/723) |
|
remote: Counting objects: 34% (246/723) |
|
remote: Counting objects: 35% (254/723) |
|
remote: Counting objects: 36% (261/723) |
|
remote: Counting objects: 37% (268/723) |
|
remote: Counting objects: 38% (275/723) |
|
remote: Counting objects: 39% (282/723) |
|
remote: Counting objects: 40% (290/723) |
|
remote: Counting objects: 41% (297/723) |
|
remote: Counting objects: 42% (304/723) |
|
remote: Counting objects: 43% (311/723) |
|
remote: Counting objects: 44% (319/723) |
|
remote: Counting objects: 45% (326/723) |
|
remote: Counting objects: 46% (333/723) |
|
remote: Counting objects: 47% (340/723) |
|
remote: Counting objects: 48% (348/723) |
|
remote: Counting objects: 49% (355/723) |
|
remote: Counting objects: 50% (362/723) |
|
remote: Counting objects: 51% (369/723) |
|
remote: Counting objects: 52% (376/723) |
|
remote: Counting objects: 53% (384/723) |
|
remote: Counting objects: 54% (391/723) |
|
remote: Counting objects: 55% (398/723) |
|
remote: Counting objects: 56% (405/723) |
|
remote: Counting objects: 57% (413/723) |
|
remote: Counting objects: 58% (420/723) |
|
remote: Counting objects: 59% (427/723) |
|
remote: Counting objects: 60% (434/723) |
|
remote: Counting objects: 61% (442/723) |
|
remote: Counting objects: 62% (449/723) |
|
remote: Counting objects: 63% (456/723) |
|
remote: Counting objects: 64% (463/723) |
|
remote: Counting objects: 65% (470/723) |
|
remote: Counting objects: 66% (478/723) |
|
remote: Counting objects: 67% (485/723) |
|
remote: Counting objects: 68% (492/723) |
|
remote: Counting objects: 69% (499/723) |
|
remote: Counting objects: 70% (507/723) |
|
remote: Counting objects: 71% (514/723) |
|
remote: Counting objects: 72% (521/723) |
|
remote: Counting objects: 73% (528/723) |
|
remote: Counting objects: 74% (536/723) |
|
remote: Counting objects: 75% (543/723) |
|
remote: Counting objects: 76% (550/723) |
|
remote: Counting objects: 77% (557/723) |
|
remote: Counting objects: 78% (564/723) |
|
remote: Counting objects: 79% (572/723) |
|
remote: Counting objects: 80% (579/723) |
|
remote: Counting objects: 81% (586/723) |
|
remote: Counting objects: 82% (593/723) |
|
remote: Counting objects: 83% (601/723) |
|
remote: Counting objects: 84% (608/723) |
|
remote: Counting objects: 85% (615/723) |
|
remote: Counting objects: 86% (622/723) |
|
remote: Counting objects: 87% (630/723) |
|
remote: Counting objects: 88% (637/723) |
|
remote: Counting objects: 89% (644/723) |
|
remote: Counting objects: 90% (651/723) |
|
remote: Counting objects: 91% (658/723) |
|
remote: Counting objects: 92% (666/723) |
|
remote: Counting objects: 93% (673/723) |
|
remote: Counting objects: 94% (680/723) |
|
remote: Counting objects: 95% (687/723) |
|
remote: Counting objects: 96% (695/723) |
|
remote: Counting objects: 97% (702/723) |
|
remote: Counting objects: 98% (709/723) |
|
remote: Counting objects: 99% (716/723) |
|
remote: Counting objects: 100% (723/723) |
|
remote: Counting objects: 100% (723/723), done. |
|
remote: Compressing objects: 0% (1/130) |
|
remote: Compressing objects: 1% (2/130) |
|
remote: Compressing objects: 2% (3/130) |
|
remote: Compressing objects: 3% (4/130) |
|
remote: Compressing objects: 4% (6/130) |
|
remote: Compressing objects: 5% (7/130) |
|
remote: Compressing objects: 6% (8/130) |
|
remote: Compressing objects: 7% (10/130) |
|
remote: Compressing objects: 8% (11/130) |
|
remote: Compressing objects: 9% (12/130) |
|
remote: Compressing objects: 10% (13/130) |
|
remote: Compressing objects: 11% (15/130) |
|
remote: Compressing objects: 12% (16/130) |
|
remote: Compressing objects: 13% (17/130) |
|
remote: Compressing objects: 14% (19/130) |
|
remote: Compressing objects: 15% (20/130) |
|
remote: Compressing objects: 16% (21/130) |
|
remote: Compressing objects: 17% (23/130) |
|
remote: Compressing objects: 18% (24/130) |
|
remote: Compressing objects: 19% (25/130) |
|
remote: Compressing objects: 20% (26/130) |
|
remote: Compressing objects: 21% (28/130) |
|
remote: Compressing objects: 22% (29/130) |
|
remote: Compressing objects: 23% (30/130) |
|
remote: Compressing objects: 24% (32/130) |
|
remote: Compressing objects: 25% (33/130) |
|
remote: Compressing objects: 26% (34/130) |
|
remote: Compressing objects: 27% (36/130) |
|
remote: Compressing objects: 28% (37/130) |
|
remote: Compressing objects: 29% (38/130) |
|
remote: Compressing objects: 30% (39/130) |
|
remote: Compressing objects: 31% (41/130) |
|
remote: Compressing objects: 32% (42/130) |
|
remote: Compressing objects: 33% (43/130) |
|
remote: Compressing objects: 34% (45/130) |
|
remote: Compressing objects: 35% (46/130) |
|
remote: Compressing objects: 36% (47/130) |
|
remote: Compressing objects: 37% (49/130) |
|
remote: Compressing objects: 38% (50/130) |
|
remote: Compressing objects: 39% (51/130) |
|
remote: Compressing objects: 40% (52/130) |
|
remote: Compressing objects: 41% (54/130) |
|
remote: Compressing objects: 42% (55/130) |
|
remote: Compressing objects: 43% (56/130) |
|
remote: Compressing objects: 44% (58/130) |
|
remote: Compressing objects: 45% (59/130) |
|
remote: Compressing objects: 46% (60/130) |
|
remote: Compressing objects: 47% (62/130) |
|
remote: Compressing objects: 48% (63/130) |
|
remote: Compressing objects: 49% (64/130) |
|
remote: Compressing objects: 50% (65/130) |
|
remote: Compressing objects: 51% (67/130) |
|
remote: Compressing objects: 52% (68/130) |
|
remote: Compressing objects: 53% (69/130) |
|
remote: Compressing objects: 54% (71/130) |
|
remote: Compressing objects: 55% (72/130) |
|
remote: Compressing objects: 56% (73/130) |
|
remote: Compressing objects: 57% (75/130) |
|
remote: Compressing objects: 58% (76/130) |
|
remote: Compressing objects: 59% (77/130) |
|
remote: Compressing objects: 60% (78/130) |
|
remote: Compressing objects: 61% (80/130) |
|
remote: Compressing objects: 62% (81/130) |
|
remote: Compressing objects: 63% (82/130) |
|
remote: Compressing objects: 64% (84/130) |
|
remote: Compressing objects: 65% (85/130) |
|
remote: Compressing objects: 66% (86/130) |
|
remote: Compressing objects: 67% (88/130) |
|
remote: Compressing objects: 68% (89/130) |
|
remote: Compressing objects: 69% (90/130) |
|
remote: Compressing objects: 70% (91/130) |
|
remote: Compressing objects: 71% (93/130) |
|
remote: Compressing objects: 72% (94/130) |
|
remote: Compressing objects: 73% (95/130) |
|
remote: Compressing objects: 74% (97/130) |
|
remote: Compressing objects: 75% (98/130) |
|
remote: Compressing objects: 76% (99/130) |
|
remote: Compressing objects: 77% (101/130) |
|
remote: Compressing objects: 78% (102/130) |
|
remote: Compressing objects: 79% (103/130) |
|
remote: Compressing objects: 80% (104/130) |
|
remote: Compressing objects: 81% (106/130) |
|
remote: Compressing objects: 82% (107/130) |
|
remote: Compressing objects: 83% (108/130) |
|
remote: Compressing objects: 84% (110/130) |
|
remote: Compressing objects: 85% (111/130) |
|
remote: Compressing objects: 86% (112/130) |
|
remote: Compressing objects: 87% (114/130) |
|
remote: Compressing objects: 88% (115/130) |
|
remote: Compressing objects: 89% (116/130) |
|
remote: Compressing objects: 90% (117/130) |
|
remote: Compressing objects: 91% (119/130) |
|
remote: Compressing objects: 92% (120/130) |
|
remote: Compressing objects: 93% (121/130) |
|
remote: Compressing objects: 94% (123/130) |
|
remote: Compressing objects: 95% (124/130) |
|
remote: Compressing objects: 96% (125/130) |
|
remote: Compressing objects: 97% (127/130) |
|
remote: Compressing objects: 98% (128/130) |
|
remote: Compressing objects: 99% (129/130) |
|
remote: Compressing objects: 100% (130/130) |
|
remote: Compressing objects: 100% (130/130), done. |
|
Receiving objects: 0% (1/498) |
|
Receiving objects: 1% (5/498) |
|
Receiving objects: 2% (10/498) |
|
Receiving objects: 3% (15/498) |
|
Receiving objects: 4% (20/498) |
|
Receiving objects: 5% (25/498) |
|
Receiving objects: 6% (30/498) |
|
Receiving objects: 7% (35/498) |
|
Receiving objects: 8% (40/498) |
|
Receiving objects: 9% (45/498) |
|
Receiving objects: 10% (50/498) |
|
Receiving objects: 11% (55/498) |
|
Receiving objects: 12% (60/498) |
|
Receiving objects: 13% (65/498) |
|
Receiving objects: 14% (70/498) |
|
Receiving objects: 15% (75/498) |
|
Receiving objects: 16% (80/498) |
|
Receiving objects: 17% (85/498) |
|
Receiving objects: 18% (90/498) |
|
Receiving objects: 19% (95/498) |
|
Receiving objects: 20% (100/498) |
|
Receiving objects: 21% (105/498) |
|
Receiving objects: 22% (110/498) |
|
Receiving objects: 23% (115/498) |
|
Receiving objects: 24% (120/498) |
|
Receiving objects: 25% (125/498) |
|
Receiving objects: 26% (130/498) |
|
Receiving objects: 27% (135/498) |
|
Receiving objects: 28% (140/498) |
|
Receiving objects: 29% (145/498) |
|
Receiving objects: 30% (150/498) |
|
Receiving objects: 31% (155/498) |
|
Receiving objects: 32% (160/498) |
|
Receiving objects: 33% (165/498) |
|
Receiving objects: 34% (170/498) |
|
Receiving objects: 35% (175/498) |
|
Receiving objects: 36% (180/498) |
|
Receiving objects: 37% (185/498) |
|
Receiving objects: 38% (190/498) |
|
Receiving objects: 39% (195/498) |
|
Receiving objects: 40% (200/498) |
|
Receiving objects: 41% (205/498) |
|
Receiving objects: 42% (210/498) |
|
Receiving objects: 43% (215/498) |
|
Receiving objects: 44% (220/498) |
|
Receiving objects: 45% (225/498) |
|
Receiving objects: 46% (230/498) |
|
Receiving objects: 47% (235/498) |
|
Receiving objects: 48% (240/498) |
|
Receiving objects: 49% (245/498) |
|
Receiving objects: 50% (249/498) |
|
Receiving objects: 51% (254/498) |
|
Receiving objects: 52% (259/498) |
|
Receiving objects: 53% (264/498) |
|
Receiving objects: 54% (269/498) |
|
Receiving objects: 55% (274/498) |
|
Receiving objects: 56% (279/498) |
|
Receiving objects: 57% (284/498) |
|
Receiving objects: 58% (289/498) |
|
Receiving objects: 59% (294/498) |
|
Receiving objects: 60% (299/498) |
|
Receiving objects: 61% (304/498) |
|
Receiving objects: 62% (309/498) |
|
Receiving objects: 63% (314/498) |
|
Receiving objects: 64% (319/498) |
|
Receiving objects: 65% (324/498) |
|
Receiving objects: 66% (329/498) |
|
Receiving objects: 67% (334/498) |
|
Receiving objects: 68% (339/498) |
|
Receiving objects: 69% (344/498) |
|
Receiving objects: 70% (349/498) |
|
Receiving objects: 71% (354/498) |
|
Receiving objects: 72% (359/498) |
|
Receiving objects: 73% (364/498) |
|
Receiving objects: 74% (369/498) |
|
Receiving objects: 75% (374/498) |
|
Receiving objects: 76% (379/498) |
|
Receiving objects: 77% (384/498) |
|
Receiving objects: 78% (389/498) |
|
Receiving objects: 79% (394/498) |
|
Receiving objects: 80% (399/498) |
|
Receiving objects: 81% (404/498) |
|
Receiving objects: 82% (409/498) |
|
Receiving objects: 83% (414/498) |
|
Receiving objects: 84% (419/498) |
|
Receiving objects: 85% (424/498) |
|
Receiving objects: 86% (429/498) |
|
Receiving objects: 87% (434/498) |
|
Receiving objects: 88% (439/498) |
|
Receiving objects: 89% (444/498) |
|
Receiving objects: 90% (449/498) |
|
remote: Total 498 (delta 392), reused 432 (delta 328), pack-reused 0 |
|
Receiving objects: 91% (454/498) |
|
Receiving objects: 92% (459/498) |
|
Receiving objects: 93% (464/498) |
|
Receiving objects: 94% (469/498) |
|
Receiving objects: 95% (474/498) |
|
Receiving objects: 96% (479/498) |
|
Receiving objects: 97% (484/498) |
|
Receiving objects: 98% (489/498) |
|
Receiving objects: 99% (494/498) |
|
Receiving objects: 100% (498/498) |
|
Receiving objects: 100% (498/498), 282.82 KiB | 8.57 MiB/s, done. |
|
Resolving deltas: 0% (0/392) |
|
Resolving deltas: 3% (14/392) |
|
Resolving deltas: 5% (23/392) |
|
Resolving deltas: 7% (29/392) |
|
Resolving deltas: 10% (41/392) |
|
Resolving deltas: 13% (51/392) |
|
Resolving deltas: 15% (59/392) |
|
Resolving deltas: 16% (64/392) |
|
Resolving deltas: 18% (71/392) |
|
Resolving deltas: 19% (78/392) |
|
Resolving deltas: 23% (93/392) |
|
Resolving deltas: 24% (95/392) |
|
Resolving deltas: 26% (102/392) |
|
Resolving deltas: 27% (106/392) |
|
Resolving deltas: 31% (123/392) |
|
Resolving deltas: 33% (133/392) |
|
Resolving deltas: 36% (142/392) |
|
Resolving deltas: 42% (166/392) |
|
Resolving deltas: 43% (169/392) |
|
Resolving deltas: 44% (174/392) |
|
Resolving deltas: 53% (209/392) |
|
Resolving deltas: 54% (212/392) |
|
Resolving deltas: 57% (226/392) |
|
Resolving deltas: 59% (234/392) |
|
Resolving deltas: 61% (242/392) |
|
Resolving deltas: 71% (280/392) |
|
Resolving deltas: 72% (286/392) |
|
Resolving deltas: 79% (313/392) |
|
Resolving deltas: 80% (314/392) |
|
Resolving deltas: 81% (320/392) |
|
Resolving deltas: 82% (322/392) |
|
Resolving deltas: 85% (336/392) |
|
Resolving deltas: 91% (359/392) |
|
Resolving deltas: 92% (362/392) |
|
Resolving deltas: 94% (372/392) |
|
Resolving deltas: 95% (373/392) |
|
Resolving deltas: 97% (382/392) |
|
Resolving deltas: 98% (385/392) |
|
Resolving deltas: 99% (391/392) |
|
Resolving deltas: 100% (392/392) |
|
Resolving deltas: 100% (392/392), completed with 46 local objects. |
|
From https://github.com/jashkenas/coffeescript |
|
* branch refs/pull/5138/merge -> FETCH_HEAD |
|
travis_time:end:128d4a7c:start=1543516199336106554,finish=1543516200130876939,duration=794770385 |
|
$ git checkout -qf FETCH_HEAD |
|
travis_fold:end:git.checkout |
|
travis_fold:start:nvm.install |
|
travis_time:start:0760d905 |
|
$ nvm install 6 |
|
Downloading and installing node v6.15.0... |
|
Downloading https://nodejs.org/dist/v6.15.0/node-v6.15.0-linux-x64.tar.xz... |
|
Computing checksum with sha256sum |
|
Checksums matched! |
|
Now using node v6.15.0 (npm v3.10.10) |
|
travis_time:end:0760d905:start=1543516201059837520,finish=1543516204602274676,duration=3542437156 |
|
travis_fold:end:nvm.install |
|
travis_fold:start:cache.1 |
|
Setting up build cache |
|
$ export CASHER_DIR=${TRAVIS_HOME}/.casher |
|
travis_time:start:06935b10 |
|
$ Installing caching utilities |
|
travis_time:end:06935b10:start=1543516209972298342,finish=1543516210117753578,duration=145455236 |
|
travis_time:start:06b8f394 |
|
travis_time:end:06b8f394:start=1543516210122547891,finish=1543516210125281835,duration=2733944 |
|
travis_time:start:2c844fda |
|
attempting to download cache archive |
|
fetching PR.5138/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-6.tgz |
|
found cache |
|
travis_time:end:2c844fda:start=1543516210128795450,finish=1543516211526140315,duration=1397344865 |
|
travis_time:start:0815d910 |
|
travis_time:end:0815d910:start=1543516211529903468,finish=1543516211532712177,duration=2808709 |
|
travis_time:start:1eec0306 |
|
adding /home/travis/build/jashkenas/coffeescript/node_modules to cache |
|
creating directory /home/travis/build/jashkenas/coffeescript/node_modules |
|
travis_time:end:1eec0306:start=1543516211536170015,finish=1543516214112473691,duration=2576303676 |
|
travis_fold:end:cache.1 |
|
$ node --version |
|
v6.15.0 |
|
$ npm --version |
|
3.10.10 |
|
$ nvm --version |
|
0.33.11 |
|
travis_fold:start:install.npm |
|
travis_time:start:0e7c4620 |
|
$ npm install |
|
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents): |
|
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) |
|
travis_time:end:0e7c4620:start=1543516215147054151,finish=1543516218692152436,duration=3545098285 |
|
travis_fold:end:install.npm |
|
travis_time:start:02326b66 |
|
$ node ./bin/cake test |
|
failed 7 and passed 1303 tests in 10.27 seconds |
|
object attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
but instead it was: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div x={{y: 42}} />', '<div x={{\n y: 42\n }} />;'); |
|
} |
|
nested CSX within an attribute, with object attr value |
|
AssertionError: Expected generated JavaScript to be: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
but instead it was: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Company>\n <Person name={<NameComponent attr3={ {\'a\': {}, b: \'{\'} } />} />\n</Company>', '<Company>\n <Person name={<NameComponent attr3={{\n \'a\': {},\n b: \'{\'\n }} />} />\n</Company>;'); |
|
} |
|
complex nesting |
|
AssertionError: Expected generated JavaScript to be: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
but instead it was: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div code={someFunc({a:{b:{}, C:\'}{}{\'}})} />', '<div code={someFunc({\n a: {\n b: {},\n C: \'}{}{\'\n }\n })} />;'); |
|
} |
|
tag with {{}} |
|
AssertionError: Expected generated JavaScript to be: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
but instead it was: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Person name={{value: item, key, item}} />', '<Person name={{\n value: item,\n key,\n item\n }} />;'); |
|
} |
|
complex multiline spread attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
but instead it was: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Component\n {y...\n } a={b} {x...} b="c" {z...}>\n <div code={someFunc({a:{b:{}, C:\'}\'}})} />\n</Component>', '<Component {...y} a={b} {...x} b="c" {...z}>\n <div code={someFunc({\n a: {\n b: {},\n C: \'}\'\n }\n })} />\n</Component>;'); |
|
} |
|
#5086: comments inside CSX tags but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div /*comment*/attribute={value} /> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div attribute={value} /> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div ###comment### attribute={value} />\n</div>', '<div>\n <div /*comment*/attribute={value} />\n</div>;'); |
|
} |
|
#5086: comments inside nested CSX tags and attributes but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div> |
|
<div> |
|
<div /*comment*/attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div> |
|
<div> |
|
<div attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div>\n <div>\n <div ###comment### attribute={###attr comment### value} />\n </div>\n </div>\n</div>', '<div>\n <div>\n <div>\n <div /*comment*/attribute={/*attr comment*/value} />\n </div>\n </div>\n</div>;'); |
|
} |
|
travis_time:end:02326b66:start=1543516218696848014,finish=1543516229661937640,duration=10965089626 |
|
The command "node ./bin/cake test" exited with 1. |
|
travis_time:start:3e2c0720 |
|
$ node --harmony ./bin/cake test |
|
failed 7 and passed 1307 tests in 10.56 seconds |
|
object attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
but instead it was: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div x={{y: 42}} />', '<div x={{\n y: 42\n }} />;'); |
|
} |
|
nested CSX within an attribute, with object attr value |
|
AssertionError: Expected generated JavaScript to be: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
but instead it was: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Company>\n <Person name={<NameComponent attr3={ {\'a\': {}, b: \'{\'} } />} />\n</Company>', '<Company>\n <Person name={<NameComponent attr3={{\n \'a\': {},\n b: \'{\'\n }} />} />\n</Company>;'); |
|
} |
|
complex nesting |
|
AssertionError: Expected generated JavaScript to be: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
but instead it was: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div code={someFunc({a:{b:{}, C:\'}{}{\'}})} />', '<div code={someFunc({\n a: {\n b: {},\n C: \'}{}{\'\n }\n })} />;'); |
|
} |
|
tag with {{}} |
|
AssertionError: Expected generated JavaScript to be: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
but instead it was: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Person name={{value: item, key, item}} />', '<Person name={{\n value: item,\n key,\n item\n }} />;'); |
|
} |
|
complex multiline spread attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
but instead it was: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Component\n {y...\n } a={b} {x...} b="c" {z...}>\n <div code={someFunc({a:{b:{}, C:\'}\'}})} />\n</Component>', '<Component {...y} a={b} {...x} b="c" {...z}>\n <div code={someFunc({\n a: {\n b: {},\n C: \'}\'\n }\n })} />\n</Component>;'); |
|
} |
|
#5086: comments inside CSX tags but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div /*comment*/attribute={value} /> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div attribute={value} /> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div ###comment### attribute={value} />\n</div>', '<div>\n <div /*comment*/attribute={value} />\n</div>;'); |
|
} |
|
#5086: comments inside nested CSX tags and attributes but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div> |
|
<div> |
|
<div /*comment*/attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div> |
|
<div> |
|
<div attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:623:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div>\n <div>\n <div ###comment### attribute={###attr comment### value} />\n </div>\n </div>\n</div>', '<div>\n <div>\n <div>\n <div /*comment*/attribute={/*attr comment*/value} />\n </div>\n </div>\n</div>;'); |
|
} |
|
travis_time:end:3e2c0720:start=1543516229665957087,finish=1543516240868651104,duration=11202694017 |
|
The command "node --harmony ./bin/cake test" exited with 1. |
|
travis_time:start:0207dc46 |
|
$ node ./bin/cake test:browser |
|
failed 7 and passed 1274 tests in 8.99 seconds |
|
object attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
but instead it was: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:33:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:32:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div x={{y: 42}} />', '<div x={{\n y: 42\n }} />;'); |
|
} |
|
nested CSX within an attribute, with object attr value |
|
AssertionError: Expected generated JavaScript to be: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
but instead it was: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:130:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:129:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Company>\n <Person name={<NameComponent attr3={ {\'a\': {}, b: \'{\'} } />} />\n</Company>', '<Company>\n <Person name={<NameComponent attr3={{\n \'a\': {},\n b: \'{\'\n }} />} />\n</Company>;'); |
|
} |
|
complex nesting |
|
AssertionError: Expected generated JavaScript to be: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
but instead it was: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:134:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:133:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div code={someFunc({a:{b:{}, C:\'}{}{\'}})} />', '<div code={someFunc({\n a: {\n b: {},\n C: \'}{}{\'\n }\n })} />;'); |
|
} |
|
tag with {{}} |
|
AssertionError: Expected generated JavaScript to be: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
but instead it was: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:221:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:220:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Person name={{value: item, key, item}} />', '<Person name={{\n value: item,\n key,\n item\n }} />;'); |
|
} |
|
complex multiline spread attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
but instead it was: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:257:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:256:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<Component\n {y...\n } a={b} {x...} b="c" {z...}>\n <div code={someFunc({a:{b:{}, C:\'}\'}})} />\n</Component>', '<Component {...y} a={b} {...x} b="c" {...z}>\n <div code={someFunc({\n a: {\n b: {},\n C: \'}\'\n }\n })} />\n</Component>;'); |
|
} |
|
#5086: comments inside CSX tags but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div /*comment*/attribute={value} /> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div attribute={value} /> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:360:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:359:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div ###comment### attribute={value} />\n</div>', '<div>\n <div /*comment*/attribute={value} />\n</div>;'); |
|
} |
|
#5086: comments inside nested CSX tags and attributes but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div> |
|
<div> |
|
<div /*comment*/attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div> |
|
<div> |
|
<div attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:58:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:368:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:367:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:399:4) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at Object.action (/home/travis/build/jashkenas/coffeescript/Cakefile:636:12) |
|
at invoke (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:57:26) |
|
at Object.exports.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/cake.js:87:20) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/bin/cake:22:42) |
|
at Module._compile (module.js:577:32) |
|
at Object.Module._extensions..js (module.js:586:10) |
|
at Module.load (module.js:494:32) |
|
at tryModuleLoad (module.js:453:12) |
|
at Function.Module._load (module.js:445:3) |
|
at Module.runMain (module.js:611:10) |
|
at run (bootstrap_node.js:394:7) |
|
at startup (bootstrap_node.js:160:9) |
|
at bootstrap_node.js:507:3 |
|
|
|
function () { |
|
return eqJS('<div>\n <div>\n <div>\n <div ###comment### attribute={###attr comment### value} />\n </div>\n </div>\n</div>', '<div>\n <div>\n <div>\n <div /*comment*/attribute={/*attr comment*/value} />\n </div>\n </div>\n</div>;'); |
|
} |
|
travis_time:end:0207dc46:start=1543516240872700441,finish=1543516250572274714,duration=9699574273 |
|
The command "node ./bin/cake test:browser" exited with 1. |
|
travis_time:start:10a1fa82 |
|
$ node ./bin/cake test:integrations |
|
(node:5122) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined |
|
failed 36 and passed 1220 tests in 8.14 seconds |
|
AST as expected for Block node |
|
AssertionError: Property type: expected e to equal Block |
|
Expected AST output to include: |
|
{ |
|
"type": "Block", |
|
"expressions": [ |
|
{ |
|
"type": "Return" |
|
} |
|
] |
|
} |
|
but instead it was: |
|
{ |
|
"expressions": [ |
|
{ |
|
"type": "e", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 6 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
6 |
|
], |
|
"start": 0, |
|
"end": 6 |
|
} |
|
], |
|
"type": "e", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 6 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
6 |
|
], |
|
"start": 0, |
|
"end": 6 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return deepStrictIncludeExpectedProperties(CoffeeScript.compile('return', { |
|
ast: true |
|
}), { |
|
type: 'Block', |
|
expressions: [ |
|
{ |
|
type: 'Return' |
|
} |
|
] |
|
}); |
|
} |
|
AST as expected for CSXTag node |
|
AssertionError: Property type: expected be to equal StringLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "StringLiteral", |
|
"value": "c" |
|
} |
|
but instead it was: |
|
{ |
|
"value": "c", |
|
"extra": { |
|
"raw": "\"c\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 9 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
9, |
|
12 |
|
], |
|
"start": 9, |
|
"end": 12 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('<CSXY />', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'CSXY' |
|
}, |
|
attributes: [], |
|
selfClosing: true |
|
}, |
|
closingElement: null, |
|
children: [] |
|
}); |
|
testExpression('<div></div>', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'div' |
|
}, |
|
attributes: [], |
|
selfClosing: false |
|
}, |
|
closingElement: { |
|
type: 'JSXClosingElement', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'div' |
|
} |
|
}, |
|
children: [] |
|
}); |
|
testExpression('<A.B />', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
name: { |
|
type: 'JSXMemberExpression', |
|
object: { |
|
type: 'JSXIdentifier', |
|
name: 'A' |
|
}, |
|
property: { |
|
type: 'JSXIdentifier', |
|
name: 'B' |
|
} |
|
}, |
|
attributes: [], |
|
selfClosing: true |
|
}, |
|
closingElement: null, |
|
children: [] |
|
}); |
|
testExpression('<Tag.Name.Here></Tag.Name.Here>', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
name: { |
|
type: 'JSXMemberExpression', |
|
object: { |
|
type: 'JSXMemberExpression', |
|
object: { |
|
type: 'JSXIdentifier', |
|
name: 'Tag' |
|
}, |
|
property: { |
|
type: 'JSXIdentifier', |
|
name: 'Name' |
|
} |
|
}, |
|
property: { |
|
type: 'JSXIdentifier', |
|
name: 'Here' |
|
} |
|
}, |
|
attributes: [], |
|
selfClosing: false |
|
}, |
|
closingElement: { |
|
type: 'JSXClosingElement', |
|
name: { |
|
type: 'JSXMemberExpression', |
|
object: { |
|
type: 'JSXMemberExpression', |
|
object: { |
|
type: 'JSXIdentifier', |
|
name: 'Tag' |
|
}, |
|
property: { |
|
type: 'JSXIdentifier', |
|
name: 'Name' |
|
} |
|
}, |
|
property: { |
|
type: 'JSXIdentifier', |
|
name: 'Here' |
|
} |
|
} |
|
}, |
|
children: [] |
|
}); |
|
testExpression('<></>', { |
|
type: 'JSXFragment', |
|
openingFragment: { |
|
type: 'JSXOpeningFragment' |
|
}, |
|
closingFragment: { |
|
type: 'JSXClosingFragment' |
|
}, |
|
children: [] |
|
}); |
|
testExpression('<div a b="c" d={e} {...f} />', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'div' |
|
}, |
|
attributes: [ |
|
{ |
|
type: 'JSXAttribute', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'a' |
|
} |
|
}, |
|
{ |
|
type: 'JSXAttribute', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'b' |
|
}, |
|
value: { |
|
type: 'StringLiteral', |
|
value: 'c' |
|
} |
|
}, |
|
{ |
|
type: 'JSXAttribute', |
|
name: { |
|
type: 'JSXIdentifier', |
|
name: 'd' |
|
}, |
|
value: { |
|
type: 'JSXExpressionContainer', |
|
expression: { |
|
type: 'Identifier', |
|
name: 'e' |
|
} |
|
} |
|
}, |
|
{ |
|
type: 'JSXSpreadAttribute', |
|
argument: { |
|
type: 'Identifier', |
|
name: 'f' |
|
}, |
|
postfix: false |
|
} |
|
], |
|
selfClosing: true |
|
}, |
|
closingElement: null, |
|
children: [] |
|
}); |
|
return testExpression('<div {f...} />', { |
|
type: 'JSXElement', |
|
openingElement: { |
|
type: 'JSXOpeningElement', |
|
attributes: [ |
|
{ |
|
type: 'JSXSpreadAttribute', |
|
argument: { |
|
type: 'Identifier', |
|
name: 'f' |
|
}, |
|
postfix: true |
|
} |
|
] |
|
} |
|
}); |
|
} |
|
AST as expected for ComputedPropertyName node |
|
AssertionError: Property type: expected te to equal ObjectProperty |
|
Expected AST output to include: |
|
{ |
|
"type": "ObjectProperty", |
|
"key": { |
|
"type": "Identifier", |
|
"name": "a" |
|
}, |
|
"value": { |
|
"type": "Identifier", |
|
"name": "b" |
|
}, |
|
"computed": true, |
|
"shorthand": false, |
|
"method": false |
|
} |
|
but instead it was: |
|
{ |
|
"key": { |
|
"name": "a", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 1 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 2 |
|
} |
|
}, |
|
"range": [ |
|
1, |
|
2 |
|
], |
|
"start": 1, |
|
"end": 2 |
|
}, |
|
"value": { |
|
"name": "b", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 5 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 6 |
|
} |
|
}, |
|
"range": [ |
|
5, |
|
6 |
|
], |
|
"start": 5, |
|
"end": 6 |
|
}, |
|
"shorthand": false, |
|
"computed": true, |
|
"method": false, |
|
"type": "te", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 6 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
6 |
|
], |
|
"start": 0, |
|
"end": 6 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
// testExpression '[fn]: ->', |
|
// type: 'Obj' |
|
// properties: [ |
|
// type: 'Assign' |
|
// context: 'object' |
|
// variable: |
|
// type: 'ComputedPropertyName' |
|
// value: |
|
// type: 'Code' |
|
// ] |
|
return testExpression('[a]: b', { |
|
type: 'ObjectExpression', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
value: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
computed: true, |
|
shorthand: false, |
|
method: false |
|
} |
|
], |
|
implicit: true |
|
}); |
|
} |
|
AST as expected for NullLiteral node |
|
AssertionError: Property type: expected Z to equal NullLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "NullLiteral" |
|
} |
|
but instead it was: |
|
{ |
|
"value": "null", |
|
"type": "Z", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 4 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
4 |
|
], |
|
"start": 0, |
|
"end": 4 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testExpression('null', { |
|
type: 'NullLiteral' |
|
}); |
|
} |
|
AST as expected for BooleanLiteral node |
|
AssertionError: Property type: expected l to equal BooleanLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "BooleanLiteral", |
|
"value": true, |
|
"name": "true" |
|
} |
|
but instead it was: |
|
{ |
|
"value": true, |
|
"name": "true", |
|
"type": "l", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 4 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
4 |
|
], |
|
"start": 0, |
|
"end": 4 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('true', { |
|
type: 'BooleanLiteral', |
|
value: true, |
|
name: 'true' |
|
}); |
|
testExpression('off', { |
|
type: 'BooleanLiteral', |
|
value: false, |
|
name: 'off' |
|
}); |
|
return testExpression('yes', { |
|
type: 'BooleanLiteral', |
|
value: true, |
|
name: 'yes' |
|
}); |
|
} |
|
AST as expected for Range node |
|
AssertionError: Property type: expected e to equal Range |
|
Expected AST output to include: |
|
{ |
|
"type": "Range", |
|
"exclusive": false, |
|
"from": { |
|
"name": "x" |
|
}, |
|
"to": { |
|
"name": "y" |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"from": { |
|
"name": "x", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 1 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 2 |
|
} |
|
}, |
|
"range": [ |
|
1, |
|
2 |
|
], |
|
"start": 1, |
|
"end": 2 |
|
}, |
|
"to": { |
|
"name": "y", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 4 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 5 |
|
} |
|
}, |
|
"range": [ |
|
4, |
|
5 |
|
], |
|
"start": 4, |
|
"end": 5 |
|
}, |
|
"exclusive": false, |
|
"type": "e", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 6 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
6 |
|
], |
|
"start": 0, |
|
"end": 6 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('[x..y]', { |
|
type: 'Range', |
|
exclusive: false, |
|
from: { |
|
name: 'x' |
|
}, |
|
to: { |
|
name: 'y' |
|
} |
|
}); |
|
return testExpression('[4...2]', { |
|
type: 'Range', |
|
exclusive: true, |
|
from: { |
|
value: 4 |
|
}, |
|
to: { |
|
value: 2 |
|
} |
|
}); |
|
} |
|
AST as expected for Slice node |
|
AssertionError: Property type: expected e to equal Range |
|
Expected AST output to include: |
|
{ |
|
"type": "Range", |
|
"exclusive": false, |
|
"from": null, |
|
"to": { |
|
"name": "y" |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"from": null, |
|
"to": { |
|
"name": "y", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 4 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 5 |
|
} |
|
}, |
|
"range": [ |
|
4, |
|
5 |
|
], |
|
"start": 4, |
|
"end": 5 |
|
}, |
|
"exclusive": false, |
|
"type": "e", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 2 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 5 |
|
} |
|
}, |
|
"range": [ |
|
2, |
|
5 |
|
], |
|
"start": 2, |
|
"end": 5 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('x[..y]', { |
|
property: { |
|
type: 'Range', |
|
exclusive: false, |
|
from: null, |
|
to: { |
|
name: 'y' |
|
} |
|
} |
|
}); |
|
testExpression('x[y...]', { |
|
property: { |
|
type: 'Range', |
|
exclusive: true, |
|
from: { |
|
name: 'y' |
|
}, |
|
to: null |
|
} |
|
}); |
|
testExpression('x[...]', { |
|
property: { |
|
type: 'Range', |
|
exclusive: true, |
|
from: null, |
|
to: null |
|
} |
|
}); |
|
// testExpression '"abc"[...2]', |
|
// type: 'MemberExpression' |
|
// property: |
|
// type: 'Range' |
|
// from: null |
|
// to: |
|
// type: 'NumericLiteral' |
|
// value: 2 |
|
// exclusive: yes |
|
// computed: yes |
|
// optional: no |
|
// shorthand: no |
|
return testExpression('x[...][a..][b...][..c][...d]', { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'MemberExpression', |
|
property: { |
|
type: 'Range', |
|
from: null, |
|
to: null, |
|
exclusive: true |
|
} |
|
}, |
|
property: { |
|
type: 'Range', |
|
from: { |
|
name: 'a' |
|
}, |
|
to: null, |
|
exclusive: false |
|
} |
|
}, |
|
property: { |
|
type: 'Range', |
|
from: { |
|
name: 'b' |
|
}, |
|
to: null, |
|
exclusive: true |
|
} |
|
}, |
|
property: { |
|
type: 'Range', |
|
from: null, |
|
to: { |
|
name: 'c' |
|
}, |
|
exclusive: false |
|
} |
|
}, |
|
property: { |
|
type: 'Range', |
|
from: null, |
|
to: { |
|
name: 'd' |
|
}, |
|
exclusive: true |
|
} |
|
}); |
|
} |
|
AST as expected for Obj node |
|
AssertionError: Property type: expected te to equal ObjectProperty |
|
Expected AST output to include: |
|
{ |
|
"type": "ObjectProperty", |
|
"key": { |
|
"type": "Identifier", |
|
"name": "a" |
|
}, |
|
"value": { |
|
"type": "NumericLiteral", |
|
"value": 1 |
|
}, |
|
"computed": false, |
|
"shorthand": false |
|
} |
|
but instead it was: |
|
{ |
|
"key": { |
|
"name": "a", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 1 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 2 |
|
} |
|
}, |
|
"range": [ |
|
1, |
|
2 |
|
], |
|
"start": 1, |
|
"end": 2 |
|
}, |
|
"value": { |
|
"value": 1, |
|
"extra": { |
|
"rawValue": 1, |
|
"raw": "1" |
|
}, |
|
"type": "NumericLiteral", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 4 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 5 |
|
} |
|
}, |
|
"range": [ |
|
4, |
|
5 |
|
], |
|
"start": 4, |
|
"end": 5 |
|
}, |
|
"shorthand": false, |
|
"computed": false, |
|
"method": false, |
|
"type": "te", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 1 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 5 |
|
} |
|
}, |
|
"range": [ |
|
1, |
|
5 |
|
], |
|
"start": 1, |
|
"end": 5 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression("{a: 1, b, [c], @d, [e()]: f, 'g': 2, ...h, i...}", { |
|
type: 'ObjectExpression', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
value: { |
|
type: 'NumericLiteral', |
|
value: 1 |
|
}, |
|
computed: false, |
|
shorthand: false |
|
}, |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
value: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
computed: false, |
|
shorthand: true |
|
}, |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'Identifier', |
|
name: 'c' |
|
}, |
|
value: { |
|
type: 'Identifier', |
|
name: 'c' |
|
}, |
|
computed: true, |
|
shorthand: true |
|
}, |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'ThisExpression' |
|
}, |
|
property: { |
|
type: 'Identifier', |
|
name: 'd' |
|
} |
|
}, |
|
value: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'ThisExpression' |
|
}, |
|
property: { |
|
type: 'Identifier', |
|
name: 'd' |
|
} |
|
}, |
|
computed: false, |
|
shorthand: true |
|
}, |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'CallExpression', |
|
callee: { |
|
type: 'Identifier', |
|
name: 'e' |
|
}, |
|
arguments: [] |
|
}, |
|
value: { |
|
type: 'Identifier', |
|
name: 'f' |
|
}, |
|
computed: true, |
|
shorthand: false |
|
}, |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'StringLiteral', |
|
value: 'g' |
|
}, |
|
value: { |
|
type: 'NumericLiteral', |
|
value: 2 |
|
}, |
|
computed: false, |
|
shorthand: false |
|
}, |
|
{ |
|
type: 'SpreadElement', |
|
argument: { |
|
type: 'Identifier', |
|
name: 'h' |
|
}, |
|
postfix: false |
|
}, |
|
{ |
|
type: 'SpreadElement', |
|
argument: { |
|
type: 'Identifier', |
|
name: 'i' |
|
}, |
|
postfix: true |
|
} |
|
], |
|
implicit: false |
|
}); |
|
return testExpression('a: 1', { |
|
type: 'ObjectExpression', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
value: { |
|
type: 'NumericLiteral', |
|
value: 1 |
|
}, |
|
shorthand: false, |
|
computed: false |
|
} |
|
], |
|
implicit: true |
|
}); |
|
} |
|
AST as expected for ModuleDeclaration node |
|
AssertionError: Property type: expected to equal ExportNamedDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ExportNamedDeclaration", |
|
"declaration": null, |
|
"specifiers": [ |
|
{ |
|
"type": "ExportSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "X" |
|
}, |
|
"exported": { |
|
"type": "Identifier", |
|
"name": "X" |
|
} |
|
} |
|
], |
|
"source": null, |
|
"exportKind": "value" |
|
} |
|
but instead it was: |
|
{ |
|
"source": null, |
|
"exportKind": "value", |
|
"specifiers": [ |
|
{ |
|
"local": { |
|
"name": "X", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
}, |
|
"exported": { |
|
"name": "X", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
} |
|
], |
|
"declaration": null, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 10 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
10 |
|
], |
|
"start": 0, |
|
"end": 10 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('export {X}', { |
|
type: 'ExportNamedDeclaration', |
|
declaration: null, |
|
specifiers: [ |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'X' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'X' |
|
} |
|
} |
|
], |
|
source: null, |
|
exportKind: 'value' |
|
}); |
|
return testExpression('import X from "."', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
type: 'ImportDefaultSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'X' |
|
} |
|
} |
|
], |
|
importKind: 'value', |
|
source: { |
|
type: 'StringLiteral', |
|
value: '.' |
|
} |
|
}); |
|
} |
|
AST as expected for ImportDeclaration node |
|
AssertionError: Property type: expected to equal ImportDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ImportDeclaration", |
|
"specifiers": [ |
|
{ |
|
"type": "ImportDefaultSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "React" |
|
} |
|
}, |
|
{ |
|
"type": "ImportSpecifier", |
|
"imported": { |
|
"type": "Identifier", |
|
"name": "Component" |
|
}, |
|
"importKind": null, |
|
"local": { |
|
"type": "Identifier", |
|
"name": "Component" |
|
} |
|
} |
|
], |
|
"importKind": "value", |
|
"source": { |
|
"type": "StringLiteral", |
|
"value": "react", |
|
"extra": { |
|
"raw": "\"react\"" |
|
} |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"specifiers": [ |
|
{ |
|
"local": { |
|
"name": "React", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 7 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
7, |
|
12 |
|
], |
|
"start": 7, |
|
"end": 12 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 7 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
7, |
|
12 |
|
], |
|
"start": 7, |
|
"end": 12 |
|
}, |
|
{ |
|
"imported": { |
|
"name": "Component", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 15 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 24 |
|
} |
|
}, |
|
"range": [ |
|
15, |
|
24 |
|
], |
|
"start": 15, |
|
"end": 24 |
|
}, |
|
"local": { |
|
"name": "Component", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 15 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 24 |
|
} |
|
}, |
|
"range": [ |
|
15, |
|
24 |
|
], |
|
"start": 15, |
|
"end": 24 |
|
}, |
|
"importKind": null, |
|
"type": "O", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 15 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 24 |
|
} |
|
}, |
|
"range": [ |
|
15, |
|
24 |
|
], |
|
"start": 15, |
|
"end": 24 |
|
} |
|
], |
|
"source": { |
|
"value": "react", |
|
"extra": { |
|
"raw": "\"react\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 31 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 38 |
|
} |
|
}, |
|
"range": [ |
|
31, |
|
38 |
|
], |
|
"start": 31, |
|
"end": 38 |
|
}, |
|
"importKind": "value", |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 38 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
38 |
|
], |
|
"start": 0, |
|
"end": 38 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testExpression('import React, {Component} from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
type: 'ImportDefaultSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'React' |
|
} |
|
}, |
|
{ |
|
type: 'ImportSpecifier', |
|
imported: { |
|
type: 'Identifier', |
|
name: 'Component' |
|
}, |
|
importKind: null, |
|
local: { |
|
type: 'Identifier', |
|
name: 'Component' |
|
} |
|
} |
|
], |
|
importKind: 'value', |
|
source: { |
|
type: 'StringLiteral', |
|
value: 'react', |
|
extra: { |
|
raw: '"react"' |
|
} |
|
} |
|
}); |
|
} |
|
AST as expected for ExportNamedDeclaration node |
|
AssertionError: Property type: expected to equal ExportNamedDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ExportNamedDeclaration", |
|
"declaration": null, |
|
"specifiers": [], |
|
"source": null, |
|
"exportKind": "value" |
|
} |
|
but instead it was: |
|
{ |
|
"source": null, |
|
"exportKind": "value", |
|
"specifiers": [], |
|
"declaration": null, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
9 |
|
], |
|
"start": 0, |
|
"end": 9 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('export {}', { |
|
type: 'ExportNamedDeclaration', |
|
declaration: null, |
|
specifiers: [], |
|
source: null, |
|
exportKind: 'value' |
|
}); |
|
// testExpression 'export fn = ->', |
|
// type: 'ExportNamedDeclaration' |
|
// clause: |
|
// type: 'Assign' |
|
// variable: |
|
// value: 'fn' |
|
// value: |
|
// type: 'Code' |
|
// testExpression 'export class A', |
|
testExpression('export {x as y, z as default}', { |
|
type: 'ExportNamedDeclaration', |
|
declaration: null, |
|
specifiers: [ |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'x' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'y' |
|
} |
|
}, |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'z' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'default' |
|
} |
|
} |
|
], |
|
source: null, |
|
exportKind: 'value' |
|
}); |
|
return testExpression('export {default, default as b} from "./abc"', { |
|
type: 'ExportNamedDeclaration', |
|
declaration: null, |
|
specifiers: [ |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'default' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'default' |
|
} |
|
}, |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'default' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'b' |
|
} |
|
} |
|
], |
|
source: { |
|
type: 'StringLiteral', |
|
value: './abc', |
|
extra: { |
|
raw: '"./abc"' |
|
} |
|
}, |
|
exportKind: 'value' |
|
}); |
|
} |
|
AST as expected for ExportDefaultDeclaration node |
|
AssertionError: Property type: expected D to equal ExportDefaultDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ExportDefaultDeclaration", |
|
"declaration": { |
|
"type": "StringLiteral", |
|
"value": "abc", |
|
"extra": { |
|
"raw": "\"abc\"" |
|
} |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"declaration": { |
|
"value": "abc", |
|
"extra": { |
|
"raw": "\"abc\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 15 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 20 |
|
} |
|
}, |
|
"range": [ |
|
15, |
|
20 |
|
], |
|
"start": 15, |
|
"end": 20 |
|
}, |
|
"type": "D", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 20 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
20 |
|
], |
|
"start": 0, |
|
"end": 20 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
// testExpression 'export default class', |
|
// type: 'ExportDefaultDeclaration' |
|
// clause: |
|
// type: 'Class' |
|
return testExpression('export default "abc"', { |
|
type: 'ExportDefaultDeclaration', |
|
declaration: { |
|
type: 'StringLiteral', |
|
value: 'abc', |
|
extra: { |
|
raw: '"abc"' |
|
} |
|
} |
|
}); |
|
} |
|
AST as expected for ExportAllDeclaration node |
|
AssertionError: Property type: expected to equal ExportAllDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ExportAllDeclaration", |
|
"source": { |
|
"type": "StringLiteral", |
|
"value": "module-name", |
|
"extra": { |
|
"raw": "\"module-name\"" |
|
} |
|
}, |
|
"exportKind": "value" |
|
} |
|
but instead it was: |
|
{ |
|
"source": { |
|
"value": "module-name", |
|
"extra": { |
|
"raw": "\"module-name\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 27 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
27 |
|
], |
|
"start": 14, |
|
"end": 27 |
|
}, |
|
"exportKind": "value", |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 27 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
27 |
|
], |
|
"start": 0, |
|
"end": 27 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testExpression('export * from "module-name"', { |
|
type: 'ExportAllDeclaration', |
|
source: { |
|
type: 'StringLiteral', |
|
value: 'module-name', |
|
extra: { |
|
raw: '"module-name"' |
|
} |
|
}, |
|
exportKind: 'value' |
|
}); |
|
} |
|
AST as expected for ExportSpecifierList node |
|
AssertionError: Property type: expected to equal ExportNamedDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ExportNamedDeclaration", |
|
"declaration": null, |
|
"specifiers": [ |
|
{ |
|
"type": "ExportSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "a" |
|
}, |
|
"exported": { |
|
"type": "Identifier", |
|
"name": "a" |
|
} |
|
}, |
|
{ |
|
"type": "ExportSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "b" |
|
}, |
|
"exported": { |
|
"type": "Identifier", |
|
"name": "b" |
|
} |
|
}, |
|
{ |
|
"type": "ExportSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "c" |
|
}, |
|
"exported": { |
|
"type": "Identifier", |
|
"name": "c" |
|
} |
|
} |
|
] |
|
} |
|
but instead it was: |
|
{ |
|
"source": null, |
|
"exportKind": "value", |
|
"specifiers": [ |
|
{ |
|
"local": { |
|
"name": "a", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
}, |
|
"exported": { |
|
"name": "a", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 8 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 9 |
|
} |
|
}, |
|
"range": [ |
|
8, |
|
9 |
|
], |
|
"start": 8, |
|
"end": 9 |
|
}, |
|
{ |
|
"local": { |
|
"name": "b", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 11 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
11, |
|
12 |
|
], |
|
"start": 11, |
|
"end": 12 |
|
}, |
|
"exported": { |
|
"name": "b", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 11 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
11, |
|
12 |
|
], |
|
"start": 11, |
|
"end": 12 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 11 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
11, |
|
12 |
|
], |
|
"start": 11, |
|
"end": 12 |
|
}, |
|
{ |
|
"local": { |
|
"name": "c", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 15 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
15 |
|
], |
|
"start": 14, |
|
"end": 15 |
|
}, |
|
"exported": { |
|
"name": "c", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 15 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
15 |
|
], |
|
"start": 14, |
|
"end": 15 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 15 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
15 |
|
], |
|
"start": 14, |
|
"end": 15 |
|
} |
|
], |
|
"declaration": null, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 16 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
16 |
|
], |
|
"start": 0, |
|
"end": 16 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testExpression('export {a, b, c}', { |
|
type: 'ExportNamedDeclaration', |
|
declaration: null, |
|
specifiers: [ |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'a' |
|
} |
|
}, |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'b' |
|
} |
|
}, |
|
{ |
|
type: 'ExportSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'c' |
|
}, |
|
exported: { |
|
type: 'Identifier', |
|
name: 'c' |
|
} |
|
} |
|
] |
|
}); |
|
} |
|
AST as expected for ImportDefaultSpecifier node |
|
AssertionError: Property type: expected to equal ImportDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ImportDeclaration", |
|
"specifiers": [ |
|
{ |
|
"type": "ImportDefaultSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "React" |
|
} |
|
} |
|
], |
|
"importKind": "value", |
|
"source": { |
|
"type": "StringLiteral", |
|
"value": "react" |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"specifiers": [ |
|
{ |
|
"local": { |
|
"name": "React", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 7 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
7, |
|
12 |
|
], |
|
"start": 7, |
|
"end": 12 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 7 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 12 |
|
} |
|
}, |
|
"range": [ |
|
7, |
|
12 |
|
], |
|
"start": 7, |
|
"end": 12 |
|
} |
|
], |
|
"source": { |
|
"value": "react", |
|
"extra": { |
|
"raw": "\"react\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 18 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 25 |
|
} |
|
}, |
|
"range": [ |
|
18, |
|
25 |
|
], |
|
"start": 18, |
|
"end": 25 |
|
}, |
|
"importKind": "value", |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 25 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
25 |
|
], |
|
"start": 0, |
|
"end": 25 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testExpression('import React from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
type: 'ImportDefaultSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'React' |
|
} |
|
} |
|
], |
|
importKind: 'value', |
|
source: { |
|
type: 'StringLiteral', |
|
value: 'react' |
|
} |
|
}); |
|
} |
|
AST as expected for ImportNamespaceSpecifier node |
|
AssertionError: Property type: expected to equal ImportDeclaration |
|
Expected AST output to include: |
|
{ |
|
"type": "ImportDeclaration", |
|
"specifiers": [ |
|
{ |
|
"type": "ImportNamespaceSpecifier", |
|
"local": { |
|
"type": "Identifier", |
|
"name": "React" |
|
} |
|
} |
|
], |
|
"importKind": "value", |
|
"source": { |
|
"type": "StringLiteral", |
|
"value": "react" |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"specifiers": [ |
|
{ |
|
"local": { |
|
"name": "React", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 12 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 17 |
|
} |
|
}, |
|
"range": [ |
|
12, |
|
17 |
|
], |
|
"start": 12, |
|
"end": 17 |
|
}, |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 7 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 17 |
|
} |
|
}, |
|
"range": [ |
|
7, |
|
17 |
|
], |
|
"start": 7, |
|
"end": 17 |
|
} |
|
], |
|
"source": { |
|
"value": "react", |
|
"extra": { |
|
"raw": "\"react\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 23 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 30 |
|
} |
|
}, |
|
"range": [ |
|
23, |
|
30 |
|
], |
|
"start": 23, |
|
"end": 30 |
|
}, |
|
"importKind": "value", |
|
"type": "", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 0 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 30 |
|
} |
|
}, |
|
"range": [ |
|
0, |
|
30 |
|
], |
|
"start": 0, |
|
"end": 30 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('import * as React from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
type: 'ImportNamespaceSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'React' |
|
} |
|
} |
|
], |
|
importKind: 'value', |
|
source: { |
|
type: 'StringLiteral', |
|
value: 'react' |
|
} |
|
}); |
|
return testExpression('import React, * as ReactStar from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
type: 'ImportDefaultSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'React' |
|
} |
|
}, |
|
{ |
|
type: 'ImportNamespaceSpecifier', |
|
local: { |
|
type: 'Identifier', |
|
name: 'ReactStar' |
|
} |
|
} |
|
], |
|
importKind: 'value', |
|
source: { |
|
type: 'StringLiteral', |
|
value: 'react' |
|
} |
|
}); |
|
} |
|
AST as expected for Assign node |
|
AssertionError: Property type: expected te to equal ObjectProperty |
|
Expected AST output to include: |
|
{ |
|
"type": "ObjectProperty", |
|
"key": { |
|
"name": "b" |
|
}, |
|
"value": { |
|
"type": "AssignmentPattern", |
|
"left": { |
|
"type": "ObjectPattern", |
|
"properties": [ |
|
{ |
|
"type": "ObjectProperty", |
|
"key": { |
|
"name": "c" |
|
}, |
|
"value": { |
|
"type": "AssignmentPattern", |
|
"left": { |
|
"name": "c" |
|
}, |
|
"right": { |
|
"value": 3 |
|
} |
|
}, |
|
"shorthand": true |
|
} |
|
] |
|
}, |
|
"right": { |
|
"type": "ObjectExpression", |
|
"properties": [] |
|
} |
|
} |
|
} |
|
but instead it was: |
|
{ |
|
"key": { |
|
"name": "b", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 10 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 11 |
|
} |
|
}, |
|
"range": [ |
|
10, |
|
11 |
|
], |
|
"start": 10, |
|
"end": 11 |
|
}, |
|
"value": { |
|
"right": { |
|
"implicit": false, |
|
"properties": [], |
|
"type": "ObjectExpression", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 23 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 25 |
|
} |
|
}, |
|
"range": [ |
|
23, |
|
25 |
|
], |
|
"start": 23, |
|
"end": 25 |
|
}, |
|
"left": { |
|
"implicit": false, |
|
"properties": [ |
|
{ |
|
"key": { |
|
"name": "c", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 15 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
15 |
|
], |
|
"start": 14, |
|
"end": 15 |
|
}, |
|
"value": { |
|
"right": { |
|
"value": 3, |
|
"extra": { |
|
"rawValue": 3, |
|
"raw": "3" |
|
}, |
|
"type": "NumericLiteral", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 18 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 19 |
|
} |
|
}, |
|
"range": [ |
|
18, |
|
19 |
|
], |
|
"start": 18, |
|
"end": 19 |
|
}, |
|
"left": { |
|
"name": "c", |
|
"type": "Identifier", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 15 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
15 |
|
], |
|
"start": 14, |
|
"end": 15 |
|
}, |
|
"type": "AssignmentPattern", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 19 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
19 |
|
], |
|
"start": 14, |
|
"end": 19 |
|
}, |
|
"shorthand": true, |
|
"computed": false, |
|
"method": false, |
|
"type": "te", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 14 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 19 |
|
} |
|
}, |
|
"range": [ |
|
14, |
|
19 |
|
], |
|
"start": 14, |
|
"end": 19 |
|
} |
|
], |
|
"type": "ObjectPattern", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 13 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 20 |
|
} |
|
}, |
|
"range": [ |
|
13, |
|
20 |
|
], |
|
"start": 13, |
|
"end": 20 |
|
}, |
|
"type": "AssignmentPattern", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 13 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 25 |
|
} |
|
}, |
|
"range": [ |
|
13, |
|
25 |
|
], |
|
"start": 13, |
|
"end": 25 |
|
}, |
|
"shorthand": false, |
|
"computed": false, |
|
"method": false, |
|
"type": "te", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 10 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 25 |
|
} |
|
}, |
|
"range": [ |
|
10, |
|
25 |
|
], |
|
"start": 10, |
|
"end": 25 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('a = b', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
right: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
operator: '=' |
|
}); |
|
testExpression('a += b', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
right: { |
|
type: 'Identifier', |
|
name: 'b' |
|
}, |
|
operator: '+=' |
|
}); |
|
testExpression('[@a = 2, {b: {c = 3} = {}, d...}, ...e] = f', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
type: 'ArrayPattern', |
|
elements: [ |
|
{ |
|
type: 'AssignmentPattern', |
|
left: { |
|
type: 'MemberExpression', |
|
object: { |
|
type: 'ThisExpression' |
|
}, |
|
property: { |
|
name: 'a' |
|
} |
|
}, |
|
right: { |
|
type: 'NumericLiteral' |
|
} |
|
}, |
|
{ |
|
type: 'ObjectPattern', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
name: 'b' |
|
}, |
|
value: { |
|
type: 'AssignmentPattern', |
|
left: { |
|
type: 'ObjectPattern', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
name: 'c' |
|
}, |
|
value: { |
|
type: 'AssignmentPattern', |
|
left: { |
|
name: 'c' |
|
}, |
|
right: { |
|
value: 3 |
|
} |
|
}, |
|
shorthand: true |
|
} |
|
] |
|
}, |
|
right: { |
|
type: 'ObjectExpression', |
|
properties: [] |
|
} |
|
} |
|
}, |
|
{ |
|
type: 'RestElement', |
|
postfix: true |
|
} |
|
] |
|
}, |
|
{ |
|
type: 'RestElement', |
|
postfix: false |
|
} |
|
] |
|
}, |
|
right: { |
|
name: 'f' |
|
} |
|
}); |
|
return testExpression('{a: [...b]} = c', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
type: 'ObjectPattern', |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
name: 'a' |
|
}, |
|
value: { |
|
type: 'ArrayPattern', |
|
elements: [ |
|
{ |
|
type: 'RestElement' |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}, |
|
right: { |
|
name: 'c' |
|
} |
|
}); |
|
} |
|
AST as expected for Elision node |
|
AssertionError: Property type: expected be to equal StringLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "StringLiteral", |
|
"value": "asdfqwer" |
|
} |
|
but instead it was: |
|
{ |
|
"value": "asdfqwer", |
|
"extra": { |
|
"raw": "\"asdfqwer\"" |
|
}, |
|
"type": "be", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 13 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 23 |
|
} |
|
}, |
|
"range": [ |
|
13, |
|
23 |
|
], |
|
"start": 13, |
|
"end": 23 |
|
} |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at deepStrictIncludeExpectedProperties (<anonymous>:1:1) |
|
at testExpression (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testExpression('[,,,a,,,b]', { |
|
type: 'ArrayExpression', |
|
elements: [ |
|
null, |
|
null, |
|
null, |
|
{ |
|
name: 'a' |
|
}, |
|
null, |
|
null, |
|
{ |
|
name: 'b' |
|
} |
|
] |
|
}); |
|
return testExpression('[,,,a,,,b] = "asdfqwer"', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
type: 'ArrayPattern', |
|
elements: [ |
|
null, |
|
null, |
|
null, |
|
{ |
|
type: 'Identifier', |
|
name: 'a' |
|
}, |
|
null, |
|
null, |
|
{ |
|
type: 'Identifier', |
|
name: 'b' |
|
} |
|
] |
|
}, |
|
right: { |
|
type: 'StringLiteral', |
|
value: 'asdfqwer' |
|
} |
|
}); |
|
} |
|
AST location data as expected for NullLiteral node |
|
AssertionError: Expected AST node type Z to equal NullLiteral |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testAstLocationData('null', { |
|
type: 'NullLiteral', |
|
start: 0, |
|
end: 4, |
|
range: [0, 4], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 4 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for BooleanLiteral node |
|
AssertionError: Expected AST node type l to equal BooleanLiteral |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testAstLocationData('true', { |
|
type: 'BooleanLiteral', |
|
start: 0, |
|
end: 4, |
|
range: [0, 4], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 4 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for Range node |
|
AssertionError: Expected AST node type e to equal Range |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testAstLocationData('[x..y]', { |
|
type: 'Range', |
|
from: { |
|
start: 1, |
|
end: 2, |
|
range: [1, 2], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 1 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 2 |
|
} |
|
} |
|
}, |
|
to: { |
|
start: 4, |
|
end: 5, |
|
range: [4, 5], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 4 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 5 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 6, |
|
range: [0, 6], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 6 |
|
} |
|
} |
|
}); |
|
return testAstLocationData('[4...2]', { |
|
type: 'Range', |
|
from: { |
|
start: 1, |
|
end: 2, |
|
range: [1, 2], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 1 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 2 |
|
} |
|
} |
|
}, |
|
to: { |
|
start: 5, |
|
end: 6, |
|
range: [5, 6], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 5 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 6 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 7, |
|
range: [0, 7], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 7 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ModuleDeclaration node |
|
AssertionError: Expected AST node type to equal ExportNamedDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testAstLocationData('export {X}', { |
|
type: 'ExportNamedDeclaration', |
|
specifiers: [ |
|
{ |
|
local: { |
|
start: 8, |
|
end: 9, |
|
range: [8, |
|
9], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 8 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 9 |
|
} |
|
} |
|
}, |
|
exported: { |
|
start: 8, |
|
end: 9, |
|
range: [8, |
|
9], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 8 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 9 |
|
} |
|
} |
|
}, |
|
start: 8, |
|
end: 9, |
|
range: [8, |
|
9], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 8 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 9 |
|
} |
|
} |
|
} |
|
], |
|
start: 0, |
|
end: 10, |
|
range: [0, 10], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 10 |
|
} |
|
} |
|
}); |
|
return testAstLocationData('import X from "."', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
start: 7, |
|
end: 8, |
|
range: [7, |
|
8], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 8 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 14, |
|
end: 17, |
|
range: [14, 17], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 14 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 17 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 17, |
|
range: [0, 17], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 17 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ImportDeclaration node |
|
AssertionError: Expected AST node type to equal ImportDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testAstLocationData('import React, {\n Component\n} from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
start: 7, |
|
end: 12, |
|
range: [7, |
|
12], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 12 |
|
} |
|
} |
|
}, |
|
{ |
|
imported: { |
|
start: 18, |
|
end: 27, |
|
range: [18, |
|
27], |
|
loc: { |
|
start: { |
|
line: 2, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 2, |
|
column: 11 |
|
} |
|
} |
|
}, |
|
start: 18, |
|
end: 27, |
|
range: [18, |
|
27], |
|
loc: { |
|
start: { |
|
line: 2, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 2, |
|
column: 11 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 35, |
|
end: 42, |
|
range: [35, 42], |
|
loc: { |
|
start: { |
|
line: 3, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 3, |
|
column: 14 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 42, |
|
range: [0, 42], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 3, |
|
column: 14 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ExportNamedDeclaration node |
|
AssertionError: Expected AST node type to equal ExportNamedDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testAstLocationData('export {}', { |
|
type: 'ExportNamedDeclaration', |
|
start: 0, |
|
end: 9, |
|
range: [0, 9], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 9 |
|
} |
|
} |
|
}); |
|
// testAstLocationData 'export fn = ->', |
|
// type: 'ExportNamedDeclaration' |
|
// clause: |
|
// type: 'Assign' |
|
// variable: |
|
// value: 'fn' |
|
// value: |
|
// type: 'Code' |
|
// testAstLocationData 'export class A', |
|
testAstLocationData('export {\n x as y\n z as default\n }', { |
|
type: 'ExportNamedDeclaration', |
|
specifiers: [ |
|
{ |
|
local: { |
|
start: 11, |
|
end: 12, |
|
range: [11, |
|
12], |
|
loc: { |
|
start: { |
|
line: 2, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 2, |
|
column: 3 |
|
} |
|
} |
|
}, |
|
exported: { |
|
start: 16, |
|
end: 17, |
|
range: [16, |
|
17], |
|
loc: { |
|
start: { |
|
line: 2, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 2, |
|
column: 8 |
|
} |
|
} |
|
}, |
|
start: 11, |
|
end: 17, |
|
range: [11, |
|
17], |
|
loc: { |
|
start: { |
|
line: 2, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 2, |
|
column: 8 |
|
} |
|
} |
|
}, |
|
{ |
|
local: { |
|
start: 20, |
|
end: 21, |
|
range: [20, |
|
21], |
|
loc: { |
|
start: { |
|
line: 3, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 3, |
|
column: 3 |
|
} |
|
} |
|
}, |
|
exported: { |
|
start: 25, |
|
end: 32, |
|
range: [25, |
|
32], |
|
loc: { |
|
start: { |
|
line: 3, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 3, |
|
column: 14 |
|
} |
|
} |
|
}, |
|
start: 20, |
|
end: 32, |
|
range: [20, |
|
32], |
|
loc: { |
|
start: { |
|
line: 3, |
|
column: 2 |
|
}, |
|
end: { |
|
line: 3, |
|
column: 14 |
|
} |
|
} |
|
} |
|
], |
|
start: 0, |
|
end: 36, |
|
range: [0, 36], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 4, |
|
column: 3 |
|
} |
|
} |
|
}); |
|
return testAstLocationData('export {default, default as b} from "./abc"', { |
|
type: 'ExportNamedDeclaration', |
|
specifiers: [ |
|
{ |
|
local: { |
|
start: 8, |
|
end: 15, |
|
range: [8, |
|
15], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 8 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 15 |
|
} |
|
} |
|
}, |
|
start: 8, |
|
end: 15, |
|
range: [8, |
|
15], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 8 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 15 |
|
} |
|
} |
|
}, |
|
{ |
|
local: { |
|
start: 17, |
|
end: 24, |
|
range: [17, |
|
24], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 17 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 24 |
|
} |
|
} |
|
}, |
|
exported: { |
|
start: 28, |
|
end: 29, |
|
range: [28, |
|
29], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 28 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 29 |
|
} |
|
} |
|
}, |
|
start: 17, |
|
end: 29, |
|
range: [17, |
|
29], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 17 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 29 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 36, |
|
end: 43, |
|
range: [36, 43], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 36 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 43 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 43, |
|
range: [0, 43], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 43 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ExportDefaultDeclaration node |
|
AssertionError: Expected AST node type D to equal ExportDefaultDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
// testAstLocationData 'export default class', |
|
// type: 'ExportDefaultDeclaration' |
|
// clause: |
|
// type: 'Class' |
|
return testAstLocationData('export default "abc"', { |
|
type: 'ExportDefaultDeclaration', |
|
declaration: { |
|
start: 15, |
|
end: 20, |
|
range: [15, 20], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 15 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 20 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 20, |
|
range: [0, 20], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 20 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ExportAllDeclaration node |
|
AssertionError: Expected AST node type to equal ExportAllDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testAstLocationData('export * from "module-name"', { |
|
type: 'ExportAllDeclaration', |
|
source: { |
|
start: 14, |
|
end: 27, |
|
range: [14, 27], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 14 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 27 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 27, |
|
range: [0, 27], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 27 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ImportDefaultSpecifier node |
|
AssertionError: Expected AST node type to equal ImportDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return testAstLocationData('import React from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
start: 7, |
|
end: 12, |
|
range: [7, |
|
12], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 12 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 18, |
|
end: 25, |
|
range: [18, 25], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 18 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 25 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 25, |
|
range: [0, 25], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 25 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for ImportNamespaceSpecifier node |
|
AssertionError: Expected AST node type to equal ImportDeclaration |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testAstLocationData('import * as React from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
start: 7, |
|
end: 17, |
|
range: [7, |
|
17], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 17 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 23, |
|
end: 30, |
|
range: [23, 30], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 23 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 30 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 30, |
|
range: [0, 30], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 30 |
|
} |
|
} |
|
}); |
|
return testAstLocationData('import React, * as ReactStar from "react"', { |
|
type: 'ImportDeclaration', |
|
specifiers: [ |
|
{ |
|
start: 7, |
|
end: 12, |
|
range: [7, |
|
12], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 7 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 12 |
|
} |
|
} |
|
}, |
|
{ |
|
local: { |
|
start: 19, |
|
end: 28, |
|
range: [19, |
|
28], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 19 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 28 |
|
} |
|
} |
|
}, |
|
start: 14, |
|
end: 28, |
|
range: [14, |
|
28], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 14 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 28 |
|
} |
|
} |
|
} |
|
], |
|
source: { |
|
start: 34, |
|
end: 41, |
|
range: [34, 41], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 34 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 41 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 41, |
|
range: [0, 41], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 41 |
|
} |
|
} |
|
}); |
|
} |
|
AST location data as expected for Assign node |
|
AssertionError: Expected AST node type te to equal ObjectProperty |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at testSingleNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at eval (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstNodeLocationData (<anonymous>:1:1) |
|
at testAstLocationData (<anonymous>:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
testAstLocationData('a = b', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
start: 0, |
|
end: 1, |
|
range: [0, 1], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 1 |
|
} |
|
} |
|
}, |
|
right: { |
|
start: 4, |
|
end: 5, |
|
range: [4, 5], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 4 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 5 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 5, |
|
range: [0, 5], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 5 |
|
} |
|
} |
|
}); |
|
testAstLocationData('a += b', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
start: 0, |
|
end: 1, |
|
range: [0, 1], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 1 |
|
} |
|
} |
|
}, |
|
right: { |
|
start: 5, |
|
end: 6, |
|
range: [5, 6], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 5 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 6 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 6, |
|
range: [0, 6], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 6 |
|
} |
|
} |
|
}); |
|
return testAstLocationData('{a: [...b]} = c', { |
|
type: 'AssignmentExpression', |
|
left: { |
|
properties: [ |
|
{ |
|
type: 'ObjectProperty', |
|
key: { |
|
start: 1, |
|
end: 2, |
|
range: [1, |
|
2], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 1 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 2 |
|
} |
|
} |
|
}, |
|
value: { |
|
elements: [ |
|
{ |
|
start: 5, |
|
end: 9, |
|
range: [5, |
|
9], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 5 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 9 |
|
} |
|
} |
|
} |
|
], |
|
start: 4, |
|
end: 10, |
|
range: [4, |
|
10], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 4 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 10 |
|
} |
|
} |
|
}, |
|
start: 1, |
|
end: 10, |
|
range: [1, |
|
10], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 1 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 10 |
|
} |
|
} |
|
} |
|
], |
|
start: 0, |
|
end: 11, |
|
range: [0, 11], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 11 |
|
} |
|
} |
|
}, |
|
right: { |
|
start: 14, |
|
end: 15, |
|
range: [14, 15], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 14 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 15 |
|
} |
|
} |
|
}, |
|
start: 0, |
|
end: 15, |
|
range: [0, 15], |
|
loc: { |
|
start: { |
|
line: 1, |
|
column: 0 |
|
}, |
|
end: { |
|
line: 1, |
|
column: 15 |
|
} |
|
} |
|
}); |
|
} |
|
object attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
but instead it was: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<div x={{y: 42}} />', '<div x={{\n y: 42\n }} />;'); |
|
} |
|
nested CSX within an attribute, with object attr value |
|
AssertionError: Expected generated JavaScript to be: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
but instead it was: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<Company>\n <Person name={<NameComponent attr3={ {\'a\': {}, b: \'{\'} } />} />\n</Company>', '<Company>\n <Person name={<NameComponent attr3={{\n \'a\': {},\n b: \'{\'\n }} />} />\n</Company>;'); |
|
} |
|
complex nesting |
|
AssertionError: Expected generated JavaScript to be: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
but instead it was: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<div code={someFunc({a:{b:{}, C:\'}{}{\'}})} />', '<div code={someFunc({\n a: {\n b: {},\n C: \'}{}{\'\n }\n })} />;'); |
|
} |
|
tag with {{}} |
|
AssertionError: Expected generated JavaScript to be: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
but instead it was: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<Person name={{value: item, key, item}} />', '<Person name={{\n value: item,\n key,\n item\n }} />;'); |
|
} |
|
complex multiline spread attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
but instead it was: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<Component\n {y...\n } a={b} {x...} b="c" {z...}>\n <div code={someFunc({a:{b:{}, C:\'}\'}})} />\n</Component>', '<Component {...y} a={b} {...x} b="c" {...z}>\n <div code={someFunc({\n a: {\n b: {},\n C: \'}\'\n }\n })} />\n</Component>;'); |
|
} |
|
#5086: comments inside CSX tags but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div /*comment*/attribute={value} /> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div attribute={value} /> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<div>\n <div ###comment### attribute={value} />\n</div>', '<div>\n <div /*comment*/attribute={value} />\n</div>;'); |
|
} |
|
#5086: comments inside nested CSX tags and attributes but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div> |
|
<div> |
|
<div /*comment*/attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div> |
|
<div> |
|
<div attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Function.eval (<anonymous>:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at eval (<anonymous>:1:1) |
|
|
|
function () { |
|
return eqJS('<div>\n <div>\n <div>\n <div ###comment### attribute={###attr comment### value} />\n </div>\n </div>\n</div>', '<div>\n <div>\n <div>\n <div /*comment*/attribute={/*attr comment*/value} />\n </div>\n </div>\n</div>;'); |
|
} |
|
travis_time:end:10a1fa82:start=1543516250576576068,finish=1543516269388910945,duration=18812334877 |
|
The command "node ./bin/cake test:integrations" exited with 0. |
|
travis_time:start:12bf86b8 |
|
$ node ./bin/cake build:except-parser |
|
travis_time:end:12bf86b8:start=1543516269393094916,finish=1543516275224375685,duration=5831280769 |
|
The command "node ./bin/cake build:except-parser" exited with 0. |
|
travis_time:start:02e57bb4 |
|
$ node ./bin/cake build:parser |
|
travis_time:end:02e57bb4:start=1543516275228717659,finish=1543516343734235473,duration=68505517814 |
|
The command "node ./bin/cake build:parser" exited with 0. |
|
travis_time:start:186852f5 |
|
$ node ./bin/cake build:full |
|
(node:5176) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined |
|
failed 7 and passed 1303 tests in 10.70 seconds |
|
object attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
but instead it was: |
|
<div x={{ |
|
y: 42 |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<div x={{y: 42}} />', '<div x={{\n y: 42\n }} />;'); |
|
} |
|
nested CSX within an attribute, with object attr value |
|
AssertionError: Expected generated JavaScript to be: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
but instead it was: |
|
<Company> |
|
<Person name={<NameComponent attr3={{ |
|
'a': {}, |
|
b: '{' |
|
}} />} /> |
|
</Company>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<Company>\n <Person name={<NameComponent attr3={ {\'a\': {}, b: \'{\'} } />} />\n</Company>', '<Company>\n <Person name={<NameComponent attr3={{\n \'a\': {},\n b: \'{\'\n }} />} />\n</Company>;'); |
|
} |
|
complex nesting |
|
AssertionError: Expected generated JavaScript to be: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
but instead it was: |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}{}{' |
|
} |
|
})} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<div code={someFunc({a:{b:{}, C:\'}{}{\'}})} />', '<div code={someFunc({\n a: {\n b: {},\n C: \'}{}{\'\n }\n })} />;'); |
|
} |
|
tag with {{}} |
|
AssertionError: Expected generated JavaScript to be: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
but instead it was: |
|
<Person name={{ |
|
value: item, |
|
key, |
|
item |
|
}} />; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<Person name={{value: item, key, item}} />', '<Person name={{\n value: item,\n key,\n item\n }} />;'); |
|
} |
|
complex multiline spread attribute |
|
AssertionError: Expected generated JavaScript to be: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
but instead it was: |
|
<Component {...y} a={b} {...x} b="c" {...z}> |
|
<div code={someFunc({ |
|
a: { |
|
b: {}, |
|
C: '}' |
|
} |
|
})} /> |
|
</Component>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<Component\n {y...\n } a={b} {x...} b="c" {z...}>\n <div code={someFunc({a:{b:{}, C:\'}\'}})} />\n</Component>', '<Component {...y} a={b} {...x} b="c" {...z}>\n <div code={someFunc({\n a: {\n b: {},\n C: \'}\'\n }\n })} />\n</Component>;'); |
|
} |
|
#5086: comments inside CSX tags but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div /*comment*/attribute={value} /> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div attribute={value} /> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<div>\n <div ###comment### attribute={value} />\n</div>', '<div>\n <div /*comment*/attribute={value} />\n</div>;'); |
|
} |
|
#5086: comments inside nested CSX tags and attributes but outside interpolations |
|
AssertionError: Expected generated JavaScript to be: |
|
<div> |
|
<div> |
|
<div> |
|
<div /*comment*/attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
but instead it was: |
|
<div> |
|
<div> |
|
<div> |
|
<div attribute={/*attr comment*/value} /> |
|
</div> |
|
</div> |
|
</div>; |
|
at exports.eqJS (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:38:3) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/csx.coffee:1:1) |
|
at Module._compile (module.js:577:32) |
|
at Object.CoffeeScript.run (/home/travis/build/jashkenas/coffeescript/lib/coffeescript/index.js:67:23) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at testBuiltCode (/home/travis/build/jashkenas/coffeescript/Cakefile:150:19) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:67:16 |
|
at ChildProcess.<anonymous> (/home/travis/build/jashkenas/coffeescript/Cakefile:55:16) |
|
at emitTwo (events.js:106:13) |
|
at ChildProcess.emit (events.js:191:7) |
|
at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12) |
|
|
|
function () { |
|
return eqJS('<div>\n <div>\n <div>\n <div ###comment### attribute={###attr comment### value} />\n </div>\n </div>\n</div>', '<div>\n <div>\n <div>\n <div /*comment*/attribute={/*attr comment*/value} />\n </div>\n </div>\n</div>;'); |
|
} |
|
travis_time:end:186852f5:start=1543516343738181092,finish=1543516433162052241,duration=89423871149 |
|
The command "node ./bin/cake build:full" exited with 0. |
|
travis_time:start:17613bea |
|
$ node ./bin/cake build:browser |
|
travis_time:end:17613bea:start=1543516433166192504,finish=1543516455014566398,duration=21848373894 |
|
The command "node ./bin/cake build:browser" exited with 0. |
|
travis_fold:start:cache.2 |
|
store build cache |
|
travis_time:start:004d1c30 |
|
travis_time:end:004d1c30:start=1543516455019717047,finish=1543516455022742666,duration=3025619 |
|
travis_time:start:019793a6 |
|
change detected (content changed, file is created, or file is deleted): |
|
/home/travis/build/jashkenas/coffeescript/node_modules/.cache/uglifyjs-webpack-plugin/content-v2/sha512/76/a2/ef9857bd663566608d5c83070815cf230b079360cb1a52b4fe46f04e74e3f0bdae323fae1aa7314c0902421940dfbc53201b1422bc2bacc61c36e015bc63 |
|
/home/travis/build/jashkenas/coffeescript/node_modules/.cache/uglifyjs-webpack-plugin/index-v5/72/8c/03019f192e37909b4570384569c12d71558dd6c37fc075909be9e1e39d33 |
|
changes detected, packing new archive |
|
uploading PR.5138/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-6.tgz |
|
cache uploaded |
|
travis_time:end:019793a6:start=1543516455027181513,finish=1543516458884693673,duration=3857512160 |
|
travis_fold:end:cache.2 |
|
Done. Your build exited with 1. |
|
|