Skip to content

Commit

Permalink
Will I ever get this right?
Browse files Browse the repository at this point in the history
  • Loading branch information
skalle committed Nov 14, 2017
1 parent 23375ba commit 353c526
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions expect_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -636,17 +636,17 @@ func ExampleVerbose() {

<-r
// Output:
// \033[32mSent:\033[32m "show system uptime\n"
// \033[33mMatch for RE:\033[33m "testrouter# " found: ["testrouter# "] Buffer: Current time: 1998-10-13 19:45:47 UTC
// \033[32mSent:\033[39m "show system uptime\n"
// \033[33mMatch for RE:\033[39m "testrouter# " found: ["testrouter# "] Buffer: Current time: 1998-10-13 19:45:47 UTC
// Time Source: NTP CLOCK
// System booted: 1998-10-12 20:51:41 UTC (22:54:06 ago)
// Protocols started: 1998-10-13 19:33:45 UTC (00:12:02 ago)
// Last configured: 1998-10-13 19:33:45 UTC (00:12:02 ago) by abc
// 12:45PM up 22:54, 2 users, load averages: 0.07, 0.02, 0.01
//
// testuser@testrouter#
// \033[32mSent:\033[32m "show version\n"
// \033[33mMatch for RE:\033[33m "testrouter# " found: ["testrouter# "] Buffer: Cisco IOS Software, 3600 Software (C3660-I-M), Version 12.3(4)T
// \033[32mSent:\033[39m "show version\n"
// \033[33mMatch for RE:\033[39m "testrouter# " found: ["testrouter# "] Buffer: Cisco IOS Software, 3600 Software (C3660-I-M), Version 12.3(4)T
//
// TAC Support: http://www.cisco.com/tac
// Copyright (c) 1986-2003 by Cisco Systems, Inc.
Expand Down Expand Up @@ -677,8 +677,8 @@ func ExampleVerbose() {
// Configuration register is 0x2102
//
// testrouter#
// \033[32mSent:\033[32m "show system users\n"
// \033[33mMatch for RE:\033[33m "testrouter# " found: ["testrouter# "] Buffer: 7:30PM up 4 days, 2:26, 2 users, load averages: 0.07, 0.02, 0.01
// \033[32mSent:\033[39m "show system users\n"
// \033[33mMatch for RE:\033[39m "testrouter# " found: ["testrouter# "] Buffer: 7:30PM up 4 days, 2:26, 2 users, load averages: 0.07, 0.02, 0.01
// USER TTY FROM LOGIN@ IDLE WHAT
// root d0 - Fri05PM 4days -csh (csh)
// blue p0 level5.company.net 7:30PM - cli
Expand Down

0 comments on commit 353c526

Please sign in to comment.