From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Brown Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 33ec2ff: Add one more mod-test test Date: Sat, 28 Nov 2015 21:12:03 -0500 Message-ID: <565A5EF3.1000900@cornell.edu> References: <20151124191433.3972.80810@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1448763145 28098 80.91.229.3 (29 Nov 2015 02:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2015 02:12:25 +0000 (UTC) To: emacs-devel@gnu.org, Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 03:12:14 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2rTI-0002xL-B7 for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 03:12:12 +0100 Original-Received: from localhost ([::1]:34645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2rTL-0001qQ-So for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 21:12:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2rT9-0001pS-8c for emacs-devel@gnu.org; Sat, 28 Nov 2015 21:12:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2rT8-0000Zg-DC for emacs-devel@gnu.org; Sat, 28 Nov 2015 21:12:03 -0500 Original-Received: from limerock01.mail.cornell.edu ([128.84.13.241]:56187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2rT4-0000W5-E4; Sat, 28 Nov 2015 21:11:58 -0500 X-CornellRouted: This message has been Routed already. Original-Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock01.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id tAT2Bv3F012587; Sat, 28 Nov 2015 21:11:57 -0500 Original-Received: from [192.168.1.6] (cpe-67-249-176-138.twcny.res.rr.com [67.249.176.138]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id tAT2Bupu004437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 28 Nov 2015 21:11:57 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.84.13.241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195505 Archived-At: On 11/24/2015 2:14 PM, Eli Zaretskii wrote: > + (let ((descr (should-error (mod-test-sum 1 2 3)))) > + (should (eq (car descr) 'wrong-number-of-arguments)) > + (should (stringp (nth 1 descr))) > + (should (eq 0 > + (string-match > + (if (eq system-type 'windows-nt) > + "#" > + "#") > + (nth 1 descr)))) This fails on Cygwin because (should-error (mod-test-sum 1 2 3)) evaluates to (wrong-number-of-arguments "#" 3) This is like the expected value on MS-Windows, but without the "from". Does the missing "from" indicate a bug in the Cygwin build? Ken