minor fixes to scheduler_test

This commit is contained in:
Daniel Smith 2014-06-20 14:03:24 -07:00
parent d57531d924
commit a718f6fdb8

View File

@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package registry package registry
import ( import (
@ -26,7 +27,7 @@ func expectSchedule(scheduler Scheduler, pod api.Pod, expected string, t *testin
actual, err := scheduler.Schedule(pod) actual, err := scheduler.Schedule(pod)
expectNoError(t, err) expectNoError(t, err)
if actual != expected { if actual != expected {
t.Errorf("Unexpected scheduling value: %d, expected %d", actual, expected) t.Errorf("Unexpected scheduling value: %v, expected %v", actual, expected)
} }
} }