mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix urllib_test.v
This commit is contained in:
@@ -1056,7 +1056,7 @@ fn (p mut Parser) close_scope() {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
// Clean up memory, only do this for V compiler for now
|
// Clean up memory, only do this for V compiler for now
|
||||||
if p.pref.building_v && v.is_alloc {
|
if p.pref.building_v && v.is_alloc && !p.pref.is_test {
|
||||||
if v.typ.starts_with('array_') {
|
if v.typ.starts_with('array_') {
|
||||||
//if false && p.returns {
|
//if false && p.returns {
|
||||||
if p.returns {
|
if p.returns {
|
||||||
|
@@ -1,10 +1,6 @@
|
|||||||
// Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
|
// urllib parses URLs and implements query escaping.
|
||||||
// Use of this source code is governed by an MIT license
|
|
||||||
// that can be found in the LICENSE file.
|
|
||||||
|
|
||||||
// Package url parses URLs and implements query escaping.
|
// See RFC 3986. This module generally follows RFC 3986, except where
|
||||||
|
|
||||||
// See RFC 3986. This package generally follows RFC 3986, except where
|
|
||||||
// it deviates for compatibility reasons.
|
// it deviates for compatibility reasons.
|
||||||
|
|
||||||
// Based off: https://github.com/golang/go/blob/master/src/net/url/url.go
|
// Based off: https://github.com/golang/go/blob/master/src/net/url/url.go
|
||||||
|
Reference in New Issue
Block a user