|
travis_fold:start:worker_info |
|
Worker information |
|
hostname: 6b639590-a2f2-48b2-8dd7-eef743567d42@1.production-3-worker-org-gce-gxh8 |
|
version: v5.1.0 https://github.com/travis-ci/worker/tree/0bdbc36fc39a4c4c18f44c0a80f1eadac7a66a65 |
|
instance: travis-job-e7a5ed0e-766b-4f27-b820-c7549163b8c7 travis-ci-garnet-trusty-1512502259-986baf0 (via amqp) |
|
startup: 6.866926913s |
|
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: 460615864 |
|
Job id: 460615865 |
|
Runtime kernel version: 4.4.0-101-generic |
|
travis-build version: a3472fade |
|
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 |
|
Setting APT mirror in /etc/apt/sources.list: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ |
|
travis_fold:start:git.checkout |
|
travis_time:start:150aa590 |
|
$ 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/680) |
|
remote: Compressing objects: 1% (7/680) |
|
remote: Compressing objects: 2% (14/680) |
|
remote: Compressing objects: 3% (21/680) |
|
remote: Compressing objects: 4% (28/680) |
|
remote: Compressing objects: 5% (34/680) |
|
remote: Compressing objects: 6% (41/680) |
|
remote: Compressing objects: 7% (48/680) |
|
remote: Compressing objects: 8% (55/680) |
|
remote: Compressing objects: 9% (62/680) |
|
remote: Compressing objects: 10% (68/680) |
|
remote: Compressing objects: 11% (75/680) |
|
remote: Compressing objects: 12% (82/680) |
|
remote: Compressing objects: 13% (89/680) |
|
remote: Compressing objects: 14% (96/680) |
|
remote: Compressing objects: 15% (102/680) |
|
remote: Compressing objects: 16% (109/680) |
|
remote: Compressing objects: 17% (116/680) |
|
remote: Compressing objects: 18% (123/680) |
|
remote: Compressing objects: 19% (130/680) |
|
remote: Compressing objects: 20% (136/680) |
|
remote: Compressing objects: 21% (143/680) |
|
remote: Compressing objects: 22% (150/680) |
|
remote: Compressing objects: 23% (157/680) |
|
remote: Compressing objects: 24% (164/680) |
|
remote: Compressing objects: 25% (170/680) |
|
remote: Compressing objects: 26% (177/680) |
|
remote: Compressing objects: 27% (184/680) |
|
remote: Compressing objects: 28% (191/680) |
|
remote: Compressing objects: 29% (198/680) |
|
remote: Compressing objects: 30% (204/680) |
|
remote: Compressing objects: 31% (211/680) |
|
remote: Compressing objects: 32% (218/680) |
|
remote: Compressing objects: 33% (225/680) |
|
remote: Compressing objects: 34% (232/680) |
|
remote: Compressing objects: 35% (238/680) |
|
remote: Compressing objects: 36% (245/680) |
|
remote: Compressing objects: 37% (252/680) |
|
remote: Compressing objects: 38% (259/680) |
|
remote: Compressing objects: 39% (266/680) |
|
remote: Compressing objects: 40% (272/680) |
|
remote: Compressing objects: 41% (279/680) |
|
remote: Compressing objects: 42% (286/680) |
|
remote: Compressing objects: 43% (293/680) |
|
remote: Compressing objects: 44% (300/680) |
|
remote: Compressing objects: 45% (306/680) |
|
remote: Compressing objects: 46% (313/680) |
|
remote: Compressing objects: 47% (320/680) |
|
remote: Compressing objects: 48% (327/680) |
|
remote: Compressing objects: 49% (334/680) |
|
remote: Compressing objects: 50% (340/680) |
|
remote: Compressing objects: 51% (347/680) |
|
remote: Compressing objects: 52% (354/680) |
|
remote: Compressing objects: 53% (361/680) |
|
remote: Compressing objects: 54% (368/680) |
|
remote: Compressing objects: 55% (374/680) |
|
remote: Compressing objects: 56% (381/680) |
|
remote: Compressing objects: 57% (388/680) |
|
remote: Compressing objects: 58% (395/680) |
|
remote: Compressing objects: 59% (402/680) |
|
remote: Compressing objects: 60% (408/680) |
|
remote: Compressing objects: 61% (415/680) |
|
remote: Compressing objects: 62% (422/680) |
|
remote: Compressing objects: 63% (429/680) |
|
remote: Compressing objects: 64% (436/680) |
|
remote: Compressing objects: 65% (442/680) |
|
remote: Compressing objects: 66% (449/680) |
|
remote: Compressing objects: 67% (456/680) |
|
remote: Compressing objects: 68% (463/680) |
|
remote: Compressing objects: 69% (470/680) |
|
remote: Compressing objects: 70% (476/680) |
|
remote: Compressing objects: 71% (483/680) |
|
remote: Compressing objects: 72% (490/680) |
|
remote: Compressing objects: 73% (497/680) |
|
remote: Compressing objects: 74% (504/680) |
|
remote: Compressing objects: 75% (510/680) |
|
remote: Compressing objects: 76% (517/680) |
|
remote: Compressing objects: 77% (524/680) |
|
remote: Compressing objects: 78% (531/680) |
|
remote: Compressing objects: 79% (538/680) |
|
remote: Compressing objects: 80% (544/680) |
|
remote: Compressing objects: 81% (551/680) |
|
remote: Compressing objects: 82% (558/680) |
|
remote: Compressing objects: 83% (565/680) |
|
remote: Compressing objects: 84% (572/680) |
|
remote: Compressing objects: 85% (578/680) |
|
remote: Compressing objects: 86% (585/680) |
|
remote: Compressing objects: 87% (592/680) |
|
remote: Compressing objects: 88% (599/680) |
|
remote: Compressing objects: 89% (606/680) |
|
remote: Compressing objects: 90% (612/680) |
|
remote: Compressing objects: 91% (619/680) |
|
remote: Compressing objects: 92% (626/680) |
|
remote: Compressing objects: 93% (633/680) |
|
remote: Compressing objects: 94% (640/680) |
|
remote: Compressing objects: 95% (646/680) |
|
remote: Compressing objects: 96% (653/680) |
|
remote: Compressing objects: 97% (660/680) |
|
remote: Compressing objects: 98% (667/680) |
|
remote: Compressing objects: 99% (674/680) |
|
remote: Compressing objects: 100% (680/680) |
|
remote: Compressing objects: 100% (680/680), 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 522), reused 691 (delta 321), pack-reused 0 |
|
Receiving objects: 100% (1069/1069) |
|
Receiving objects: 100% (1069/1069), 1.91 MiB | 10.15 MiB/s, done. |
|
Resolving deltas: 0% (0/522) |
|
Resolving deltas: 2% (14/522) |
|
Resolving deltas: 8% (42/522) |
|
Resolving deltas: 9% (47/522) |
|
Resolving deltas: 12% (67/522) |
|
Resolving deltas: 13% (68/522) |
|
Resolving deltas: 14% (77/522) |
|
Resolving deltas: 16% (87/522) |
|
Resolving deltas: 18% (97/522) |
|
Resolving deltas: 19% (104/522) |
|
Resolving deltas: 25% (131/522) |
|
Resolving deltas: 26% (137/522) |
|
Resolving deltas: 27% (141/522) |
|
Resolving deltas: 29% (153/522) |
|
Resolving deltas: 30% (158/522) |
|
Resolving deltas: 31% (164/522) |
|
Resolving deltas: 32% (172/522) |
|
Resolving deltas: 33% (174/522) |
|
Resolving deltas: 34% (180/522) |
|
Resolving deltas: 36% (190/522) |
|
Resolving deltas: 42% (222/522) |
|
Resolving deltas: 44% (232/522) |
|
Resolving deltas: 48% (252/522) |
|
Resolving deltas: 49% (257/522) |
|
Resolving deltas: 50% (262/522) |
|
Resolving deltas: 51% (267/522) |
|
Resolving deltas: 52% (275/522) |
|
Resolving deltas: 53% (277/522) |
|
Resolving deltas: 54% (282/522) |
|
Resolving deltas: 56% (293/522) |
|
Resolving deltas: 57% (302/522) |
|
Resolving deltas: 60% (314/522) |
|
Resolving deltas: 62% (328/522) |
|
Resolving deltas: 64% (337/522) |
|
Resolving deltas: 66% (348/522) |
|
Resolving deltas: 68% (360/522) |
|
Resolving deltas: 70% (367/522) |
|
Resolving deltas: 72% (379/522) |
|
Resolving deltas: 73% (386/522) |
|
Resolving deltas: 75% (395/522) |
|
Resolving deltas: 77% (405/522) |
|
Resolving deltas: 78% (412/522) |
|
Resolving deltas: 80% (419/522) |
|
Resolving deltas: 81% (424/522) |
|
Resolving deltas: 83% (434/522) |
|
Resolving deltas: 84% (439/522) |
|
Resolving deltas: 85% (445/522) |
|
Resolving deltas: 87% (456/522) |
|
Resolving deltas: 88% (463/522) |
|
Resolving deltas: 89% (466/522) |
|
Resolving deltas: 90% (471/522) |
|
Resolving deltas: 91% (476/522) |
|
Resolving deltas: 92% (483/522) |
|
Resolving deltas: 94% (491/522) |
|
Resolving deltas: 95% (496/522) |
|
Resolving deltas: 96% (502/522) |
|
Resolving deltas: 97% (507/522) |
|
Resolving deltas: 98% (512/522) |
|
Resolving deltas: 99% (519/522) |
|
Resolving deltas: 100% (522/522) |
|
Resolving deltas: 100% (522/522), done. |
|
travis_time:end:150aa590:start=1543384270264839413,finish=1543384271583648112,duration=1318808699 |
|
$ cd jashkenas/coffeescript |
|
travis_time:start:016f0a2b |
|
$ git fetch origin +refs/pull/5137/merge: |
|
remote: Enumerating objects: 981, done. |
|
remote: Counting objects: 0% (1/794) |
|
remote: Counting objects: 1% (8/794) |
|
remote: Counting objects: 2% (16/794) |
|
remote: Counting objects: 3% (24/794) |
|
remote: Counting objects: 4% (32/794) |
|
remote: Counting objects: 5% (40/794) |
|
remote: Counting objects: 6% (48/794) |
|
remote: Counting objects: 7% (56/794) |
|
remote: Counting objects: 8% (64/794) |
|
remote: Counting objects: 9% (72/794) |
|
remote: Counting objects: 10% (80/794) |
|
remote: Counting objects: 11% (88/794) |
|
remote: Counting objects: 12% (96/794) |
|
remote: Counting objects: 13% (104/794) |
|
remote: Counting objects: 14% (112/794) |
|
remote: Counting objects: 15% (120/794) |
|
remote: Counting objects: 16% (128/794) |
|
remote: Counting objects: 17% (135/794) |
|
remote: Counting objects: 18% (143/794) |
|
remote: Counting objects: 19% (151/794) |
|
remote: Counting objects: 20% (159/794) |
|
remote: Counting objects: 21% (167/794) |
|
remote: Counting objects: 22% (175/794) |
|
remote: Counting objects: 23% (183/794) |
|
remote: Counting objects: 24% (191/794) |
|
remote: Counting objects: 25% (199/794) |
|
remote: Counting objects: 26% (207/794) |
|
remote: Counting objects: 27% (215/794) |
|
remote: Counting objects: 28% (223/794) |
|
remote: Counting objects: 29% (231/794) |
|
remote: Counting objects: 30% (239/794) |
|
remote: Counting objects: 31% (247/794) |
|
remote: Counting objects: 32% (255/794) |
|
remote: Counting objects: 33% (263/794) |
|
remote: Counting objects: 34% (270/794) |
|
remote: Counting objects: 35% (278/794) |
|
remote: Counting objects: 36% (286/794) |
|
remote: Counting objects: 37% (294/794) |
|
remote: Counting objects: 38% (302/794) |
|
remote: Counting objects: 39% (310/794) |
|
remote: Counting objects: 40% (318/794) |
|
remote: Counting objects: 41% (326/794) |
|
remote: Counting objects: 42% (334/794) |
|
remote: Counting objects: 43% (342/794) |
|
remote: Counting objects: 44% (350/794) |
|
remote: Counting objects: 45% (358/794) |
|
remote: Counting objects: 46% (366/794) |
|
remote: Counting objects: 47% (374/794) |
|
remote: Counting objects: 48% (382/794) |
|
remote: Counting objects: 49% (390/794) |
|
remote: Counting objects: 50% (397/794) |
|
remote: Counting objects: 51% (405/794) |
|
remote: Counting objects: 52% (413/794) |
|
remote: Counting objects: 53% (421/794) |
|
remote: Counting objects: 54% (429/794) |
|
remote: Counting objects: 55% (437/794) |
|
remote: Counting objects: 56% (445/794) |
|
remote: Counting objects: 57% (453/794) |
|
remote: Counting objects: 58% (461/794) |
|
remote: Counting objects: 59% (469/794) |
|
remote: Counting objects: 60% (477/794) |
|
remote: Counting objects: 61% (485/794) |
|
remote: Counting objects: 62% (493/794) |
|
remote: Counting objects: 63% (501/794) |
|
remote: Counting objects: 64% (509/794) |
|
remote: Counting objects: 65% (517/794) |
|
remote: Counting objects: 66% (525/794) |
|
remote: Counting objects: 67% (532/794) |
|
remote: Counting objects: 68% (540/794) |
|
remote: Counting objects: 69% (548/794) |
|
remote: Counting objects: 70% (556/794) |
|
remote: Counting objects: 71% (564/794) |
|
remote: Counting objects: 72% (572/794) |
|
remote: Counting objects: 73% (580/794) |
|
remote: Counting objects: 74% (588/794) |
|
remote: Counting objects: 75% (596/794) |
|
remote: Counting objects: 76% (604/794) |
|
remote: Counting objects: 77% (612/794) |
|
remote: Counting objects: 78% (620/794) |
|
remote: Counting objects: 79% (628/794) |
|
remote: Counting objects: 80% (636/794) |
|
remote: Counting objects: 81% (644/794) |
|
remote: Counting objects: 82% (652/794) |
|
remote: Counting objects: 83% (660/794) |
|
remote: Counting objects: 84% (667/794) |
|
remote: Counting objects: 85% (675/794) |
|
remote: Counting objects: 86% (683/794) |
|
remote: Counting objects: 87% (691/794) |
|
remote: Counting objects: 88% (699/794) |
|
remote: Counting objects: 89% (707/794) |
|
remote: Counting objects: 90% (715/794) |
|
remote: Counting objects: 91% (723/794) |
|
remote: Counting objects: 92% (731/794) |
|
remote: Counting objects: 93% (739/794) |
|
remote: Counting objects: 94% (747/794) |
|
remote: Counting objects: 95% (755/794) |
|
remote: Counting objects: 96% (763/794) |
|
remote: Counting objects: 97% (771/794) |
|
remote: Counting objects: 98% (779/794) |
|
remote: Counting objects: 99% (787/794) |
|
remote: Counting objects: 100% (794/794) |
|
remote: Counting objects: 100% (794/794), done. |
|
remote: Compressing objects: 0% (1/143) |
|
remote: Compressing objects: 1% (2/143) |
|
remote: Compressing objects: 2% (3/143) |
|
remote: Compressing objects: 3% (5/143) |
|
remote: Compressing objects: 4% (6/143) |
|
remote: Compressing objects: 5% (8/143) |
|
remote: Compressing objects: 6% (9/143) |
|
remote: Compressing objects: 7% (11/143) |
|
remote: Compressing objects: 8% (12/143) |
|
remote: Compressing objects: 9% (13/143) |
|
remote: Compressing objects: 10% (15/143) |
|
remote: Compressing objects: 11% (16/143) |
|
remote: Compressing objects: 12% (18/143) |
|
remote: Compressing objects: 13% (19/143) |
|
remote: Compressing objects: 14% (21/143) |
|
remote: Compressing objects: 15% (22/143) |
|
remote: Compressing objects: 16% (23/143) |
|
remote: Compressing objects: 17% (25/143) |
|
remote: Compressing objects: 18% (26/143) |
|
remote: Compressing objects: 19% (28/143) |
|
remote: Compressing objects: 20% (29/143) |
|
remote: Compressing objects: 21% (31/143) |
|
remote: Compressing objects: 22% (32/143) |
|
remote: Compressing objects: 23% (33/143) |
|
remote: Compressing objects: 24% (35/143) |
|
remote: Compressing objects: 25% (36/143) |
|
remote: Compressing objects: 26% (38/143) |
|
remote: Compressing objects: 27% (39/143) |
|
remote: Compressing objects: 28% (41/143) |
|
remote: Compressing objects: 29% (42/143) |
|
remote: Compressing objects: 30% (43/143) |
|
remote: Compressing objects: 31% (45/143) |
|
remote: Compressing objects: 32% (46/143) |
|
remote: Compressing objects: 33% (48/143) |
|
remote: Compressing objects: 34% (49/143) |
|
remote: Compressing objects: 35% (51/143) |
|
remote: Compressing objects: 36% (52/143) |
|
remote: Compressing objects: 37% (53/143) |
|
remote: Compressing objects: 38% (55/143) |
|
remote: Compressing objects: 39% (56/143) |
|
remote: Compressing objects: 40% (58/143) |
|
remote: Compressing objects: 41% (59/143) |
|
remote: Compressing objects: 42% (61/143) |
|
remote: Compressing objects: 43% (62/143) |
|
remote: Compressing objects: 44% (63/143) |
|
remote: Compressing objects: 45% (65/143) |
|
remote: Compressing objects: 46% (66/143) |
|
remote: Compressing objects: 47% (68/143) |
|
remote: Compressing objects: 48% (69/143) |
|
remote: Compressing objects: 49% (71/143) |
|
remote: Compressing objects: 50% (72/143) |
|
remote: Compressing objects: 51% (73/143) |
|
remote: Compressing objects: 52% (75/143) |
|
remote: Compressing objects: 53% (76/143) |
|
remote: Compressing objects: 54% (78/143) |
|
remote: Compressing objects: 55% (79/143) |
|
remote: Compressing objects: 56% (81/143) |
|
remote: Compressing objects: 57% (82/143) |
|
remote: Compressing objects: 58% (83/143) |
|
remote: Compressing objects: 59% (85/143) |
|
remote: Compressing objects: 60% (86/143) |
|
remote: Compressing objects: 61% (88/143) |
|
remote: Compressing objects: 62% (89/143) |
|
remote: Compressing objects: 63% (91/143) |
|
remote: Compressing objects: 64% (92/143) |
|
remote: Compressing objects: 65% (93/143) |
|
remote: Compressing objects: 66% (95/143) |
|
remote: Compressing objects: 67% (96/143) |
|
remote: Compressing objects: 68% (98/143) |
|
remote: Compressing objects: 69% (99/143) |
|
remote: Compressing objects: 70% (101/143) |
|
remote: Compressing objects: 71% (102/143) |
|
remote: Compressing objects: 72% (103/143) |
|
remote: Compressing objects: 73% (105/143) |
|
remote: Compressing objects: 74% (106/143) |
|
remote: Compressing objects: 75% (108/143) |
|
remote: Compressing objects: 76% (109/143) |
|
remote: Compressing objects: 77% (111/143) |
|
remote: Compressing objects: 78% (112/143) |
|
remote: Compressing objects: 79% (113/143) |
|
remote: Compressing objects: 80% (115/143) |
|
remote: Compressing objects: 81% (116/143) |
|
remote: Compressing objects: 82% (118/143) |
|
remote: Compressing objects: 83% (119/143) |
|
remote: Compressing objects: 84% (121/143) |
|
remote: Compressing objects: 85% (122/143) |
|
remote: Compressing objects: 86% (123/143) |
|
remote: Compressing objects: 87% (125/143) |
|
remote: Compressing objects: 88% (126/143) |
|
remote: Compressing objects: 89% (128/143) |
|
remote: Compressing objects: 90% (129/143) |
|
remote: Compressing objects: 91% (131/143) |
|
remote: Compressing objects: 92% (132/143) |
|
remote: Compressing objects: 93% (133/143) |
|
remote: Compressing objects: 94% (135/143) |
|
remote: Compressing objects: 95% (136/143) |
|
remote: Compressing objects: 96% (138/143) |
|
remote: Compressing objects: 97% (139/143) |
|
remote: Compressing objects: 98% (141/143) |
|
remote: Compressing objects: 99% (142/143) |
|
remote: Compressing objects: 100% (143/143) |
|
remote: Compressing objects: 100% (143/143), done. |
|
Receiving objects: 0% (1/571) |
|
Receiving objects: 1% (6/571) |
|
Receiving objects: 2% (12/571) |
|
Receiving objects: 3% (18/571) |
|
Receiving objects: 4% (23/571) |
|
Receiving objects: 5% (29/571) |
|
Receiving objects: 6% (35/571) |
|
Receiving objects: 7% (40/571) |
|
Receiving objects: 8% (46/571) |
|
Receiving objects: 9% (52/571) |
|
Receiving objects: 10% (58/571) |
|
Receiving objects: 11% (63/571) |
|
Receiving objects: 12% (69/571) |
|
Receiving objects: 13% (75/571) |
|
Receiving objects: 14% (80/571) |
|
Receiving objects: 15% (86/571) |
|
Receiving objects: 16% (92/571) |
|
Receiving objects: 17% (98/571) |
|
Receiving objects: 18% (103/571) |
|
Receiving objects: 19% (109/571) |
|
Receiving objects: 20% (115/571) |
|
Receiving objects: 21% (120/571) |
|
Receiving objects: 22% (126/571) |
|
Receiving objects: 23% (132/571) |
|
Receiving objects: 24% (138/571) |
|
Receiving objects: 25% (143/571) |
|
Receiving objects: 26% (149/571) |
|
Receiving objects: 27% (155/571) |
|
Receiving objects: 28% (160/571) |
|
Receiving objects: 29% (166/571) |
|
Receiving objects: 30% (172/571) |
|
Receiving objects: 31% (178/571) |
|
Receiving objects: 32% (183/571) |
|
Receiving objects: 33% (189/571) |
|
Receiving objects: 34% (195/571) |
|
Receiving objects: 35% (200/571) |
|
Receiving objects: 36% (206/571) |
|
Receiving objects: 37% (212/571) |
|
Receiving objects: 38% (217/571) |
|
Receiving objects: 39% (223/571) |
|
Receiving objects: 40% (229/571) |
|
Receiving objects: 41% (235/571) |
|
Receiving objects: 42% (240/571) |
|
Receiving objects: 43% (246/571) |
|
Receiving objects: 44% (252/571) |
|
Receiving objects: 45% (257/571) |
|
Receiving objects: 46% (263/571) |
|
Receiving objects: 47% (269/571) |
|
Receiving objects: 48% (275/571) |
|
Receiving objects: 49% (280/571) |
|
Receiving objects: 50% (286/571) |
|
Receiving objects: 51% (292/571) |
|
Receiving objects: 52% (297/571) |
|
Receiving objects: 53% (303/571) |
|
Receiving objects: 54% (309/571) |
|
Receiving objects: 55% (315/571) |
|
Receiving objects: 56% (320/571) |
|
Receiving objects: 57% (326/571) |
|
Receiving objects: 58% (332/571) |
|
Receiving objects: 59% (337/571) |
|
Receiving objects: 60% (343/571) |
|
Receiving objects: 61% (349/571) |
|
Receiving objects: 62% (355/571) |
|
Receiving objects: 63% (360/571) |
|
Receiving objects: 64% (366/571) |
|
Receiving objects: 65% (372/571) |
|
Receiving objects: 66% (377/571) |
|
Receiving objects: 67% (383/571) |
|
Receiving objects: 68% (389/571) |
|
Receiving objects: 69% (394/571) |
|
Receiving objects: 70% (400/571) |
|
Receiving objects: 71% (406/571) |
|
Receiving objects: 72% (412/571) |
|
Receiving objects: 73% (417/571) |
|
Receiving objects: 74% (423/571) |
|
Receiving objects: 75% (429/571) |
|
Receiving objects: 76% (434/571) |
|
Receiving objects: 77% (440/571) |
|
Receiving objects: 78% (446/571) |
|
Receiving objects: 79% (452/571) |
|
Receiving objects: 80% (457/571) |
|
Receiving objects: 81% (463/571) |
|
Receiving objects: 82% (469/571) |
|
Receiving objects: 83% (474/571) |
|
Receiving objects: 84% (480/571) |
|
Receiving objects: 85% (486/571) |
|
Receiving objects: 86% (492/571) |
|
Receiving objects: 87% (497/571) |
|
Receiving objects: 88% (503/571) |
|
Receiving objects: 89% (509/571) |
|
Receiving objects: 90% (514/571) |
|
Receiving objects: 91% (520/571) |
|
Receiving objects: 92% (526/571) |
|
Receiving objects: 93% (532/571) |
|
Receiving objects: 94% (537/571) |
|
Receiving objects: 95% (543/571) |
|
Receiving objects: 96% (549/571) |
|
Receiving objects: 97% (554/571) |
|
remote: Total 571 (delta 453), reused 496 (delta 380), pack-reused 0 |
|
Receiving objects: 98% (560/571) |
|
Receiving objects: 99% (566/571) |
|
Receiving objects: 100% (571/571) |
|
Receiving objects: 100% (571/571), 284.10 KiB | 6.04 MiB/s, done. |
|
Resolving deltas: 0% (0/453) |
|
Resolving deltas: 7% (32/453) |
|
Resolving deltas: 11% (54/453) |
|
Resolving deltas: 13% (61/453) |
|
Resolving deltas: 16% (73/453) |
|
Resolving deltas: 17% (80/453) |
|
Resolving deltas: 18% (83/453) |
|
Resolving deltas: 20% (91/453) |
|
Resolving deltas: 25% (114/453) |
|
Resolving deltas: 26% (118/453) |
|
Resolving deltas: 27% (124/453) |
|
Resolving deltas: 28% (128/453) |
|
Resolving deltas: 32% (147/453) |
|
Resolving deltas: 34% (157/453) |
|
Resolving deltas: 37% (170/453) |
|
Resolving deltas: 43% (199/453) |
|
Resolving deltas: 44% (203/453) |
|
Resolving deltas: 45% (208/453) |
|
Resolving deltas: 46% (209/453) |
|
Resolving deltas: 55% (251/453) |
|
Resolving deltas: 56% (255/453) |
|
Resolving deltas: 59% (270/453) |
|
Resolving deltas: 61% (278/453) |
|
Resolving deltas: 63% (288/453) |
|
Resolving deltas: 73% (333/453) |
|
Resolving deltas: 74% (336/453) |
|
Resolving deltas: 75% (340/453) |
|
Resolving deltas: 82% (372/453) |
|
Resolving deltas: 83% (376/453) |
|
Resolving deltas: 84% (382/453) |
|
Resolving deltas: 87% (397/453) |
|
Resolving deltas: 92% (420/453) |
|
Resolving deltas: 93% (423/453) |
|
Resolving deltas: 95% (433/453) |
|
Resolving deltas: 96% (435/453) |
|
Resolving deltas: 97% (443/453) |
|
Resolving deltas: 98% (444/453) |
|
Resolving deltas: 99% (452/453) |
|
Resolving deltas: 100% (453/453) |
|
Resolving deltas: 100% (453/453), completed with 46 local objects. |
|
From https://github.com/jashkenas/coffeescript |
|
* branch refs/pull/5137/merge -> FETCH_HEAD |
|
travis_time:end:016f0a2b:start=1543384271587415758,finish=1543384272481671918,duration=894256160 |
|
$ git checkout -qf FETCH_HEAD |
|
travis_fold:end:git.checkout |
|
travis_fold:start:nvm.install |
|
travis_time:start:129ed303 |
|
$ 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:129ed303:start=1543384273265149523,finish=1543384276113654863,duration=2848505340 |
|
travis_fold:end:nvm.install |
|
travis_fold:start:cache.1 |
|
Setting up build cache |
|
$ export CASHER_DIR=${TRAVIS_HOME}/.casher |
|
travis_time:start:00bc174e |
|
$ Installing caching utilities |
|
travis_time:end:00bc174e:start=1543384281578878322,finish=1543384281720487506,duration=141609184 |
|
travis_time:start:0afce44e |
|
travis_time:end:0afce44e:start=1543384281725521390,finish=1543384281728135598,duration=2614208 |
|
travis_time:start:002b6ae3 |
|
attempting to download cache archive |
|
fetching PR.5137/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-6.tgz |
|
found cache |
|
travis_time:end:002b6ae3:start=1543384281731522092,finish=1543384283110241489,duration=1378719397 |
|
travis_time:start:08755d9c |
|
travis_time:end:08755d9c:start=1543384283114138066,finish=1543384283116884976,duration=2746910 |
|
travis_time:start:058c5c60 |
|
adding /home/travis/build/jashkenas/coffeescript/node_modules to cache |
|
creating directory /home/travis/build/jashkenas/coffeescript/node_modules |
|
travis_time:end:058c5c60:start=1543384283120477165,finish=1543384285671455569,duration=2550978404 |
|
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:02511339 |
|
$ 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:02511339:start=1543384286556924951,finish=1543384289929555031,duration=3372630080 |
|
travis_fold:end:install.npm |
|
travis_time:start:033366e8 |
|
$ node ./bin/cake test |
|
failed 1 and passed 1309 tests in 10.54 seconds |
|
CSX error: non-matching tag names |
|
AssertionError: Expected [stdin]:1:6: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^^ to equal [stdin]:1:7: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^ |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:28:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at expectedException (assert.js:299:19) |
|
at innerThrows (assert.js:343:8) |
|
at throws (assert.js:350:3) |
|
at assertErrorFormat (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.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 assertErrorFormat('<div><span></div></span>', '[stdin]:1:6: error: expected corresponding CSX closing tag for span\n<div><span></div></span>\n ^^^^^'); |
|
} |
|
travis_time:end:033366e8:start=1543384289934012513,finish=1543384301195640495,duration=11261627982 |
|
The command "node ./bin/cake test" exited with 1. |
|
travis_time:start:17edfff3 |
|
$ node --harmony ./bin/cake test |
|
failed 1 and passed 1313 tests in 10.01 seconds |
|
CSX error: non-matching tag names |
|
AssertionError: Expected [stdin]:1:6: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^^ to equal [stdin]:1:7: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^ |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:28:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at expectedException (assert.js:299:19) |
|
at innerThrows (assert.js:343:8) |
|
at throws (assert.js:350:3) |
|
at assertErrorFormat (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.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 assertErrorFormat('<div><span></div></span>', '[stdin]:1:6: error: expected corresponding CSX closing tag for span\n<div><span></div></span>\n ^^^^^'); |
|
} |
|
travis_time:end:17edfff3:start=1543384301199789780,finish=1543384311843319314,duration=10643529534 |
|
The command "node --harmony ./bin/cake test" exited with 1. |
|
travis_time:start:06c6b028 |
|
$ node ./bin/cake test:browser |
|
failed 1 and passed 1280 tests in 9.43 seconds |
|
CSX error: non-matching tag names |
|
AssertionError: Expected [stdin]:1:6: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^^ to equal [stdin]:1:7: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^ |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:46:12) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:13:7) |
|
at expectedException (assert.js:299:19) |
|
at innerThrows (assert.js:343:8) |
|
at throws (assert.js:350:3) |
|
at assertErrorFormat (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:19:12) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:579:12) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:578:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:716: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 assertErrorFormat('<div><span></div></span>', '[stdin]:1:6: error: expected corresponding CSX closing tag for span\n<div><span></div></span>\n ^^^^^'); |
|
} |
|
travis_time:end:06c6b028:start=1543384311847540747,finish=1543384322016066721,duration=10168525974 |
|
The command "node ./bin/cake test:browser" exited with 1. |
|
travis_time:start:2b8bb82c |
|
$ node ./bin/cake test:integrations |
|
(node:5100) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined |
|
failed 28 and passed 1228 tests in 8.36 seconds |
|
AST as expected for ComputedPropertyName node |
|
AssertionError: Property type: expected K 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": "K", |
|
"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 q to equal NullLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "NullLiteral" |
|
} |
|
but instead it was: |
|
{ |
|
"value": "null", |
|
"type": "q", |
|
"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 h to equal BooleanLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "BooleanLiteral", |
|
"value": true, |
|
"name": "true" |
|
} |
|
but instead it was: |
|
{ |
|
"value": true, |
|
"name": "true", |
|
"type": "h", |
|
"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 K 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": "K", |
|
"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": "S", |
|
"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": "fe", |
|
"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 k 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": "fe", |
|
"loc": { |
|
"start": { |
|
"line": 1, |
|
"column": 15 |
|
}, |
|
"end": { |
|
"line": 1, |
|
"column": 20 |
|
} |
|
}, |
|
"range": [ |
|
15, |
|
20 |
|
], |
|
"start": 15, |
|
"end": 20 |
|
}, |
|
"type": "k", |
|
"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": "fe", |
|
"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": "fe", |
|
"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": "fe", |
|
"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 K 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": "K", |
|
"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": "K", |
|
"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 fe to equal StringLiteral |
|
Expected AST output to include: |
|
{ |
|
"type": "StringLiteral", |
|
"value": "asdfqwer" |
|
} |
|
but instead it was: |
|
{ |
|
"value": "asdfqwer", |
|
"extra": { |
|
"raw": "\"asdfqwer\"" |
|
}, |
|
"type": "fe", |
|
"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 q 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 h 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 k 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 K 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 |
|
} |
|
} |
|
}); |
|
} |
|
CSX error: non-matching tag names |
|
AssertionError: Expected [stdin]:1:6: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^^ to equal [stdin]:1:7: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^ |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:1:1) |
|
at Object.eval (<anonymous>:1:1) |
|
at expectedException (assert.js:299:19) |
|
at innerThrows (assert.js:343:8) |
|
at throws (assert.js:350:3) |
|
at assertErrorFormat (<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) |
|
at Object.s.run (/tmp/coffeescript.js:1:31704) |
|
at runTests (/home/travis/build/jashkenas/coffeescript/Cakefile:609:22) |
|
at /home/travis/build/jashkenas/coffeescript/Cakefile:687:21 |
|
at finalCallback (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:210:39) |
|
at hooks.done.callAsync.err (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:259:14) |
|
at AsyncSeriesHook.eval [as callAsync] (<anonymous>:1:1) |
|
at AsyncSeriesHook.lazyCompileHook (/home/travis/build/jashkenas/coffeescript/node_modules/tapable/lib/Hook.js:154:20) |
|
at emitRecords.err (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:257:22) |
|
at Compiler.emitRecords (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:372:39) |
|
at emitAssets.err (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:251:10) |
|
at hooks.afterEmit.callAsync.err (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:358:14) |
|
at AsyncSeriesHook.eval [as callAsync] (<anonymous>:1:1) |
|
at AsyncSeriesHook.lazyCompileHook (/home/travis/build/jashkenas/coffeescript/node_modules/tapable/lib/Hook.js:154:20) |
|
at asyncLib.forEach.err (/home/travis/build/jashkenas/coffeescript/node_modules/webpack/lib/Compiler.js:355:27) |
|
at done (/home/travis/build/jashkenas/coffeescript/node_modules/neo-async/async.js:2854:11) |
|
at /home/travis/build/jashkenas/coffeescript/node_modules/neo-async/async.js:2805:7 |
|
at /home/travis/build/jashkenas/coffeescript/node_modules/graceful-fs/graceful-fs.js:43:10 |
|
at FSReqWrap.oncomplete (fs.js:123:15) |
|
|
|
function () { |
|
return assertErrorFormat('<div><span></div></span>', '[stdin]:1:6: error: expected corresponding CSX closing tag for span\n<div><span></div></span>\n ^^^^^'); |
|
} |
|
travis_time:end:2b8bb82c:start=1543384322020412199,finish=1543384341261893103,duration=19241480904 |
|
The command "node ./bin/cake test:integrations" exited with 0. |
|
travis_time:start:12f2843d |
|
$ node ./bin/cake build:except-parser |
|
travis_time:end:12f2843d:start=1543384341266085628,finish=1543384347013018030,duration=5746932402 |
|
The command "node ./bin/cake build:except-parser" exited with 0. |
|
travis_time:start:0451e754 |
|
$ node ./bin/cake build:parser |
|
travis_time:end:0451e754:start=1543384347017225097,finish=1543384416837498342,duration=69820273245 |
|
The command "node ./bin/cake build:parser" exited with 0. |
|
travis_time:start:265d7ad9 |
|
$ node ./bin/cake build:full |
|
(node:5159) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined |
|
failed 1 and passed 1309 tests in 10.83 seconds |
|
CSX error: non-matching tag names |
|
AssertionError: Expected [stdin]:1:6: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^^ to equal [stdin]:1:7: error: expected corresponding CSX closing tag for span |
|
<div><span></div></span> |
|
^^^^ |
|
at exports.eq (/home/travis/build/jashkenas/coffeescript/test/support/helpers.coffee:28:3) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at expectedException (assert.js:299:19) |
|
at innerThrows (assert.js:343:8) |
|
at throws (assert.js:350:3) |
|
at assertErrorFormat (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Function.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at global.test (/home/travis/build/jashkenas/coffeescript/Cakefile:538:21) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.coffee:1:1) |
|
at Object.<anonymous> (/home/travis/build/jashkenas/coffeescript/test/error_messages.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 assertErrorFormat('<div><span></div></span>', '[stdin]:1:6: error: expected corresponding CSX closing tag for span\n<div><span></div></span>\n ^^^^^'); |
|
} |
|
travis_time:end:265d7ad9:start=1543384416841866813,finish=1543384510161717531,duration=93319850718 |
|
The command "node ./bin/cake build:full" exited with 0. |
|
travis_time:start:018ae138 |
|
$ node ./bin/cake build:browser |
|
travis_time:end:018ae138:start=1543384510166018041,finish=1543384532204844728,duration=22038826687 |
|
The command "node ./bin/cake build:browser" exited with 0. |
|
travis_fold:start:cache.2 |
|
store build cache |
|
travis_time:start:20b39d18 |
|
travis_time:end:20b39d18:start=1543384532212412855,finish=1543384532216462290,duration=4049435 |
|
travis_time:start:0465817c |
|
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/c7/c3/19e8d723228e668e6bec29ae61d8b1d2c7dbe30fbb9f7f622b7014329a4a9c0cb8a163e940a1228b1797e77150193ceb1b829df593d893cf1d55659bd9bb |
|
/home/travis/build/jashkenas/coffeescript/node_modules/.cache/uglifyjs-webpack-plugin/index-v5/e7/48/25deb215aa1aa5ea301f767bd9e09b2d252b54d93cf6c616005e3783f085 |
|
changes detected, packing new archive |
|
uploading PR.5137/cache-linux-trusty-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-6.tgz |
|
cache uploaded |
|
travis_time:end:0465817c:start=1543384532222649054,finish=1543384536308936264,duration=4086287210 |
|
travis_fold:end:cache.2 |
|
Done. Your build exited with 1. |
|
|